Skip to content
Sign in Create account

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_token string required
    Length: 32 to 32 characters
  • final_authorization_code string required
    Length: 6 to 12 characters

Generated sample

{
  "approval_token": "string",
  "final_authorization_code": "string"
}

Responses

200 Break-glass executed

application/json object

  • break_glass_id string required
  • confirmation_steps_completed integer required
    Value: 3
  • executed boolean required
    Value: true
  • message string required

Generated sample

{
  "break_glass_id": "string",
  "confirmation_steps_completed": 3,
  "executed": true,
  "message": "string"
}
401 Sanctum authentication is required.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

403 The caller lacks the break-glass.trigger permission or did not initiate the flow.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

422 Invalid or expired approval token or final authorization code.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Request rate limit exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string