Skip to content

governance module route (requires governance:breakglass:write)

POST
/v1/m/governance/breakglass/consume
curl --request POST \
--url https://example.com/v1/m/governance/breakglass/consume \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "action": "example", "subject_kind": "example", "subject_ref": "example" }'

Consumes one break-glass grant for a named action and subject; both ride the immutable use trail.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
action
required

Trimmed, credential-free, and capped at 128 bytes.

string
/.*\S.*/
subject_kind
Any of:

Trimmed, credential-free, and capped at 128 bytes.

string
subject_ref
Any of:

Credential-free and capped at 4096 bytes.

string
Example generated
{
"action": "example",
"subject_kind": "example",
"subject_ref": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}