Skip to content
GitmoapAPIBeta
Schema

UpdateAccessGrantRequest

Change a grant's role, its expiry or its reason. Fields left out are unchanged.

Shape

  • expires_atstring · date-time or nulloptionalA new end date, or null for access that lasts until it is revoked.
  • reasonGrantReason (string) or nulloptionalA new reason, or null to clear it.
  • roleRoleRef or nulloptional

Example

Synthesized example
{
"expires_at": "2026-10-12T14:32:28Z",
"reason": "reason-4178",
"role": {
"builtin": "guest"
}
}

Graph

Used inside

No schema contains this one.

Contains

Used by

Returned by 0 operations

No operation returns it directly.