Skip to content

Emergency purge tenant runtime registry snapshot

POST
/api/admin/tenants/{id}/runtime-registry/emergency-purge
Code sample: Shell / cURL
curl --request POST \
--url https://auth.example.com/api/admin/tenants/example/runtime-registry/emergency-purge \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "breakGlassConfirmation": "I understand this purges the tenant runtime registry snapshot", "reason": "Remove corrupt runtime registry snapshot after incident INC-1234", "deploymentTarget": "production" }'

Purges a tenant runtime registry snapshot using break-glass confirmation and writes a critical audit event.

id
required
string

Break-glass confirmation for tenant runtime registry snapshot purge.

Media type application/json
object
breakGlassConfirmation
required
string
>= 1 characters
reason
required
string
>= 1 characters
deploymentTarget
string
key
additional properties
Example
{
"breakGlassConfirmation": "I understand this purges the tenant runtime registry snapshot",
"reason": "Remove corrupt runtime registry snapshot after incident INC-1234",
"deploymentTarget": "production"
}

Emergency tenant runtime registry purge result.

Media type application/json
object
purged
required
boolean
tenant_id
required
string
deployment_target
string
snapshot_key
required
string
generation_key
required
string
purged_at
required
string format: date-time
key
additional properties
Example
{
"purged": true,
"tenant_id": "tenant_123",
"deployment_target": "production",
"snapshot_key": "tenant-runtime:production:tenant_123:snapshot",
"generation_key": "tenant-runtime:production:tenant_123:generation",
"purged_at": "2026-06-01T00:00:00.000Z"
}

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"
}

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"
}