Skip to content
GitmoapAPIBeta
Schema

RoleGrant

One grant of a custom role.

Shape

  • atAccessScopeWhere the grant was made.
  • created_atstring · date-time
  • grant_idGrantId (string · uuid)
  • expires_atstring · date-time or nulloptional

Example

Synthesized example
{
"at": {
"full_path": "acme/payments-api",
"id": "id-2269",
"type": "group"
},
"created_at": "2026-10-09T05:33:45Z",
"grant_id": "ff8ef01d-7d5f-42b5-a41c-f2cb8918a576",
"subject": {
"principal": {
"id": "01d7d6a6-e192-4098-a102-dc393bab8fd2",
"kind": "user",
"username": "lin",
"avatar_url": "https://gitmoap.example/acme/65c7a76b"
}
},
"expires_at": "2026-10-10T11:55:53Z"
}

Graph

Used inside

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.