Confirm tenant break-glass (step 2 of 3)
POST /api/v1/break-glass/confirm
Tenant-facing step 2 of the SSO break-glass flow. Requires the step 1 confirmation_token and acknowledged_impact=true, and the same authenticated user who initiated it. A successful response returns a single-use approval_token and a six-digit final_authorization_code for step 3; both expire within two minutes.
Authenticate with a portal session token.
Request body
application/json object
acknowledged_impactboolean requiredValue:trueconfirmation_tokenstring requiredLength: 32 to 32 characters
Generated sample
{
"acknowledged_impact": true,
"confirmation_token": "string"
}Responses
200 Confirmed
application/json object
approval_tokenstring requiredLength: 32 to 32 charactersexpires_in_secondsinteger requiredValue:120final_authorization_codestring requiredPattern:^\d{6}$messagestring requirednext_stepstring requiredValue:"POST /api/v1/break-glass/execute"
Generated sample
{
"approval_token": "string",
"expires_in_seconds": 120,
"final_authorization_code": "string",
"message": "string",
"next_step": "POST /api/v1/break-glass/execute"
}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 step 1.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
422 Invalid or expired confirmation token, missing impact acknowledgement, or token ownership mismatch.
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