Skip to main content
PUT
Update scheduled grant

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

The ID of the scheduled grant to update.

Body

application/json

When a scheduled grant starts and how long its access lasts.

start_at
string<date-time>
required

When access should begin. Must be in the future.

Example:

"2026-12-01T17:00:00.000Z"

duration_minutes
integer

How long access lasts after start_at. Omit (or send 0) for access that does not expire.

Required range: 0 <= x <= 153722867
Example:

60

Response

The updated scheduled grant.

Approved access waiting for its start time. The recipient has no access until start_at.

id
string<uuid>
required

The ID of the scheduled grant.

status
enum<string>
required

The status of a scheduled grant.

Available options:
PENDING,
FAILED
Example:

"PENDING"

start_at
string<date-time>
required

When access is scheduled to begin.

Example:

"2026-12-01T17:00:00.000Z"

expiration
string<date-time>

When the granted access expires. Null if it does not expire or if duration_minutes sets it.

duration_minutes
integer

How long access lasts after start_at. Null if the access does not expire.

principal_id
string<uuid>

The ID of the user or group that will receive access.

principal_type
enum<string>

The type of an entity.

Available options:
GROUP,
RESOURCE,
USER
Example:

"GROUP"

entity_id
string<uuid>

The ID of the resource or group the access is for.

entity_type
enum<string>

The type of an entity.

Available options:
GROUP,
RESOURCE,
USER
Example:

"GROUP"

access_level_remote_id
string

The remote ID of the access level being granted.

request_id
string<uuid>

The access request this grant was created from. Null for grants an admin added directly.

created_by_user_id
string<uuid>

The requester for grants created from a request, or the admin who added the grant.

failed_at
string<date-time>

When provisioning permanently failed. Null unless status is FAILED.

failed_reason
string

Why provisioning permanently failed. Null unless status is FAILED.