Validate a restored tenant before activation.
POST
/api/admin/tenants/{id}/lifecycle/restore-validate
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/admin/tenants/example/lifecycle/restore-validate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "expected_state": "provisioning", "expected_updated_at": 1, "reason": "example", "break_glass": false }'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
Header Parameters
Section titled “Header Parameters ” Idempotency-Key
string
Idempotency key for state-changing operations that support replay protection.
Request Body required
Section titled “Request Body required ” Media type application/json
object
expected_state
required
string
expected_updated_at
required
integer format: int64
reason
required
string
break_glass
boolean
key
additional properties
Responses
Section titled “ Responses ”Tenant lifecycle command or validation job response.
Media type application/json
object
job_id
required
string
status
required
string
tenant_id
required
string
lifecycle_state
required
string
validation_required
required
boolean
idempotent_replay
boolean
key
additional properties
Example
{ "lifecycle_state": "provisioning"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}Error response.
Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{ "error": "example", "message": "example", "error_description": "example"}