Skip to content
Sign in Create account

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_impact boolean required
    Value: true
  • confirmation_token string required
    Length: 32 to 32 characters

Generated sample

{
  "acknowledged_impact": true,
  "confirmation_token": "string"
}

Responses

200 Confirmed

application/json object

  • approval_token string required
    Length: 32 to 32 characters
  • expires_in_seconds integer required
    Value: 120
  • final_authorization_code string required
    Pattern: ^\d{6}$
  • message string required
  • next_step string required
    Value: "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

  • 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 step 1.

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 confirmation token, missing impact acknowledgement, or token ownership mismatch.

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