Skip to main content
PATCH
Updates an existing Access Grant’s time window. You must include at least one request parameter.

Authorizations

Authorization
string
header
required

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

Body

application/json
access_grant_id
string<uuid>

ID of the Access Grant to update. Provide either access_grant_id or access_grant_key.

access_grant_key
string

Key of the Access Grant to update. Provide either access_grant_id or access_grant_key.

Minimum string length: 1
ends_at
string<date-time> | null

Date and time at which the validity of the grant ends, in ISO 8601 format. Must be a time in the future and after starts_at.

name
string | null

Display name for the access grant.

starts_at
string<date-time>

Date and time at which the validity of the grant starts, in ISO 8601 format.

Response

OK

The response is of type object.