Set an access deadline
extendAdjust an existing person-app grant or Funnel deadline with a relative for or absolute until, lengthening or shortening access and returning old and new deadlines.
Instructions
Reset an existing person-app grant or acknowledged Funnel deadline using for from the operation time or an absolute until, extending or shortening access. Returns previous and new deadlines, audience, change time and whether expired access was regranted. Use extend to change an existing deadline; use people_grant to create a person-app grant. who selects the person grant for service; omit who for Funnel, which is owner-only. Confirm target and duration with the owner. Expired access requires regrant=true; revoked people cannot be revived. For Funnel, regrant=true re-enables public internet exposure of an expired Funnel. Changes local state only; no invitations, live tailnet calls or access-log dependency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | No | Relative lifetime (descending unique units w,d,h,m,s,ms,us,ns) or until <RFC3339|YYYY-MM-DD|YYYY-MM-DDTHH:MM>. Local unless offset given; DST gaps/folds require an offset. Minimum 1h. Presets: 1h, 8h, 24h, 3d, 7d. New grants default to 24h; update omission preserves deadlines. Never requires ack_never and a tailnet-member login; device-invited guests have the configured public maximum. | |
| who | No | ||
| until | No | RFC3339, YYYY-MM-DD or YYYY-MM-DDTHH:MM; local without offset. Mutually exclusive with for. | |
| regrant | No | ||
| service | Yes | ||
| ack_never | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| who | No | ||
| service | Yes | ||
| audience | Yes | ||
| regranted | Yes | ||
| changed_at | Yes | ||
| expires_at | Yes | ||
| previous_expires_at | Yes |