Create role
POST/v1/roles
Permissions in the format *, agent.*, agent.<resource>.* or agent.<resource>.<action>. On a person's token, none can go beyond the role of whoever creates it.
Request​
Responses​
- 201
- 400
- 401
- 403
- 409
- 503
created
VALIDATION_ERROR
INVALID_TOKEN / INVALID_AUDIENCE / INVALID_ISSUER / TOKEN_EXPIRED / TOKEN_REVOKED / MTLS_REQUIRED
PERMISSION_ESCALATION — details.permissions lists what exceeds your role
IDEMPOTENCY_KEY_REUSED / IDEMPOTENCY_REQUEST_IN_PROGRESS (or the route's CONFLICT)
AS_UNAVAILABLE — token verification is unavailable (Authorization Server down or configuration missing). Try again (Retry-After).