Skip to main content
POST
/
access_grants
/
update
await seam.accessGrants.update({
  access_grant_id: "4ec65722-bf38-4b2f-b4c8-f488aa6ba3f1",
  starts_at: "2025-06-19T18:01:32.000Z",
  ends_at: "2025-06-22T13:24:50.000Z",
});

/*
// void
*/
{
  "ok": true
}

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>
required

ID of the Access Grant to update.

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

ok
boolean
required