OUTCOME · Planned · Revoke or retire
What changes
None today: this route is not executable. Its intended behavior is: revokes or deletes only the eligible role resource named by the request, subject to policy and retained-evidence rules.
Access control
/api/v2/admin/access/role-assignments/{assignment_uuid}This page describes intended capability and integration boundaries so people and agents can prepare safely. Do not send this request or register it as an executable tool. Wait until the capability registry marks it implemented-contract, then re-fetch the deployed OpenAPI document and build the request from that machine contract.
Purpose and usage
Planned capability: revoke a role assignment with audit evidence.
When to use it
Do not call or register this operation as an executable agent tool yet. Use this page to plan the future role workflow; enable it only after the status becomes implemented-contract and the exact operation appears in deployed OpenAPI.
OUTCOME · Planned · Revoke or retire
None today: this route is not executable. Its intended behavior is: revokes or deletes only the eligible role resource named by the request, subject to policy and retained-evidence rules.
WHY IT MATTERS
ISOLATION + AUTHORITY
Platform administrator, tenant, identity, role definition, assignment, session, scope, step-up grant, audit event, revocation, and domain-specific authorization remain distinct. Access administration cannot manufacture wallet, payment, settlement, publisher, matching, or trading authority. This planning record grants no runtime authority, and only deployed OpenAPI can define an executable public contract.
BEFORE YOU CALL
WHAT TO DO NEXT
AGENT GUIDANCE
This is a planned, non-executable contract. Do not send requests or register it as an executable agent tool.
Request and response
Examples describe the reviewed planning contract and remain non-executable until promoted into OpenAPI.
PARAMETERS
AuthorizationheaderRequiredBearer tokenCredential containing admin:access:write authority.EXAMPLEBearer hc_live_…
Idempotency-KeyheaderRequiredASCII string · 1–128Caller-generated stable key reused for retries of the same logical mutation.EXAMPLEdelete-api-v2-admin-access-role-assignments-assignment-uuid-request-001
assignment_uuidpathRequiredidentifierCanonical assignment uuid.EXAMPLEassignment-uuid-01
expected_versionbodyRequiredinteger · ≥1Current assignment version for optimistic concurrency.EXAMPLE1
reasonbodyRequiredstring · 8–500Attributed revocation rationale.EXAMPLEreason-01
step_up_tokenbodyRequiredpurpose-bound tokenFresh ROLE_ASSIGNMENT_REVOCATION authorization.EXAMPLEstep-up-token-01
REQUEST
{
"expected_version": 1,
"reason": "reason-01",
"step_up_token": "step-up-token-01"
}RESPONSES
{
"code": "request_failed",
"message": "Bearer credential is missing, expired, or invalid."
}request_failed{
"code": "request_failed",
"message": "The principal lacks the required scope, role, tenant, or step-up authority."
}request_failed{
"code": "request_failed",
"message": "Path, query, or body validation failed."
}request_failed{
"code": "request_failed",
"message": "The authoritative service or read model is unavailable."
}request_failedOPERATIONAL NOTES
This planned contract now defines its public parameters, authorization boundary, replay behavior, responses, and authoritative owner. It remains non-executable until its owner adapter and conformance tests are promoted into the Rust gateway.
Return to the V2 directory