Grants

Create Grant Endpoint

post/auth/grants

Request

  • Base URL
    https://origin.agience.ai
  • Auth
    OAuth 2
    Authorization code/auth/authorize
    Token URL/auth/token

Request body

resource_idstring required
can_createboolean
can_readboolean
can_updateboolean
can_deleteboolean
can_invokeboolean
can_addboolean
can_shareboolean
can_adminboolean
grantee_typestring
grantee_idstring nullable
target_entitystring nullable
target_entity_typestring nullable
max_claimsinteger nullable
requires_identityboolean
namestring nullable
notesstring nullable
expires_atstring nullable
statestring
rolestring nullable
messagestring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.