Execute tenant break-glass (step 3 of 3)
POST /api/v1/break-glass/execute
Tenant-facing step 3 of the SSO break-glass flow. Requires the step 2 approval_token and final_authorization_code, the same authenticated user, and break-glass.trigger permission. The returned code is six digits; the controller accepts a 6–12 character string but only the issued code succeeds. The approval token is single-use and expires after two minutes.
Authenticate with a portal session token.
Request body
application/json object
approval_tokenstring requiredLength: 32 to 32 charactersfinal_authorization_codestring requiredLength: 6 to 12 characters
Generated sample
{
"approval_token": "string",
"final_authorization_code": "string"
}Responses
200 Break-glass executed
application/json object
break_glass_idstring requiredconfirmation_steps_completedinteger requiredValue:3executedboolean requiredValue:truemessagestring required
Generated sample
{
"break_glass_id": "string",
"confirmation_steps_completed": 3,
"executed": true,
"message": "string"
}401 Sanctum authentication is required.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
403 The caller lacks the break-glass.trigger permission or did not initiate the flow.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 Invalid or expired approval token or final authorization code.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Request rate limit exceeded.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string