Grant
PreviewManage organizations, members, end users, invitations and connected identities.
POST
/v1/resources/{id}/grantsSee authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Resource ID
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Explicit bounded use grant. It does not confer management permission or permission to reshare.
object
constraints
consumer_id
Consumer agent, session, or virtual-user ID; omit for organization scope.
string | null
consumer_scope
required
Consumer scope; organization grants explicitly opt eligible service agents in.
string
expires_at
Absolute grant expiry in UTC; omit for a grant that lasts until revoked.
string | null format: date-time
usage
required
Invocation identity that must match at every use.
string
Responses
201Access granted
Access granted
Media typeapplication/json
Identifier of the newly declared binding or explicit access grant.
object
id
required
Stable identifier used by subsequent metadata and management requests.
string format: uuid
Example generated
{ "id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}