API referenceGrants
`POST /grants` — issue a scope grant (admin; owner-reserved scopes need owner).
POST
/grantsRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
POST /grants body.
Response Body
application/json
curl -X POST "https://example.com/grants" \ -H "Content-Type: application/json" \ -d '{ "scope": "string", "subject_id": "string", "subject_type": "user", "target": "string" }'{ "created_at": "string", "granted_by": "string", "id": "string", "scope": "string", "subject_id": "string", "subject_type": "user", "target": "string", "updated_at": "string"}