Set an access deadline
extendReset an existing person-app grant or acknowledged Funnel deadline using a relative duration or absolute time to lengthen or shorten access; returns prior 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. Over HTTP MCP, a change to a public app (open Funnel, a lapsed Funnel that keeps its public acknowledgement, or guest links), including one that makes an app public or removes it, needs the current portal owner when one is configured or a home gateway is on, checked in the write transaction (access_request_owner_required).
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 for members and device-invited guests; finite guest grants retain the configured 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 |