Read_grant
GET
Read a role grant by its durable ID with project view grants permission, including revoked grants.
bearerAuthheader
AuthorizationBearer <token>grant_id*stringSuccess
application/json- response
A role granted to a principal in one Project.
conditions*id*stringprincipal*stringprojectId*stringrole*authorization.RoleProject authorization role.
Value in
"admin""editor""viewer"curl -X GET 'https://api.spiraldb.dev/api/authorization/grants/string'{ "conditions": { "property1": "string", "property2": "string" }, "id": "string", "principal": "string", "projectId": "string", "role": "admin"}