permadelete
Administrative control plane for permanent deletion jobs.
Create permadelete job
Operation path: POST /api/v2/workloadPermadeleteJobs
Body parameter
{
"properties": {
"dryRun": {
"default": false,
"description": "Create a preview-only job. destructive phases must not run.",
"title": "Dry Run",
"type": "boolean"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
],
"description": "Controlled audit reason for the request."
},
"reasonDetails": {
"anyOf": [
{
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional audit context for any deletion reason.",
"title": "Reason Details"
}
},
"title": "CreatePermadeleteJobRequest",
"type": "object"
}
Parameters
| Name |
In |
Type |
Required |
Description |
| tenantId |
query |
string(uuid) |
true |
Target tenant ID |
| userId |
query |
any |
false |
Target user ID; omit for tenant scope |
| adminUserId |
query |
any |
false |
Tenant admin preserved for admin-last deletion |
| Idempotency-Key |
header |
string |
true |
Caller-generated key reused when retrying this logical request |
| body |
body |
CreatePermadeleteJobRequest |
true |
none |
Example responses
202 Response
{
"properties": {
"adminUserId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Admin User ID"
},
"cancelRequestedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancel Requested At"
},
"cancelledAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancelled At"
},
"completedPhases": {
"items": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"title": "Completedphases",
"type": "array"
},
"createdAt": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"deletedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Deletedcounts",
"type": "object"
},
"dryRun": {
"title": "Dry Run",
"type": "boolean"
},
"failedSteps": {
"items": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"retriable": {
"title": "Retriable",
"type": "boolean"
},
"step": {
"description": "Sub-step within the phase; defaults to the phase name.",
"title": "Step",
"type": "string"
}
},
"required": [
"phase",
"step",
"error",
"retriable"
],
"title": "PermadeleteFailedStep",
"type": "object"
},
"title": "Failedsteps",
"type": "array"
},
"heartbeatAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Heartbeat At"
},
"jobId": {
"title": "Job ID",
"type": "string"
},
"lastErrorSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error Summary"
},
"nextWakeupAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Next Wakeup At"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
]
},
"reasonDetails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason Details"
},
"requestedById": {
"title": "Requested By ID",
"type": "string"
},
"requestedByType": {
"enum": [
"user",
"service"
],
"title": "PermadeleteActorType",
"type": "string"
},
"retryCount": {
"title": "Retry Count",
"type": "integer"
},
"scope": {
"enum": [
"user",
"tenant"
],
"title": "PermadeleteScope",
"type": "string"
},
"skippedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Skippedcounts",
"type": "object"
},
"status": {
"enum": [
"created",
"queued",
"dispatched",
"running",
"retry_wait",
"cancel_requested",
"cancelled",
"manual_review",
"succeeded",
"failed_terminal"
],
"title": "PermadeleteStatus",
"type": "string"
},
"targetId": {
"anyOf": [
{
"type": "string"
},
{
"format": "uuid",
"type": "string"
}
],
"title": "Target ID"
},
"tenantId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Tenant ID"
},
"updatedAt": {
"format": "date-time",
"title": "Updated At",
"type": "string"
}
},
"required": [
"jobId",
"scope",
"targetId",
"status",
"phase",
"dryRun",
"requestedByType",
"requestedById",
"retryCount",
"completedPhases",
"deletedCounts",
"skippedCounts",
"failedSteps",
"createdAt",
"updatedAt"
],
"title": "PermadeleteJobResponse",
"type": "object"
}
Responses
cancel permadelete job by job_ ID
Operation path: DELETE /api/v2/workloadPermadeleteJobs/{job_id}
Parameters
| Name |
In |
Type |
Required |
Description |
| job_id |
path |
string |
true |
Permadelete job ID |
Example responses
200 Response
{
"properties": {
"adminUserId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Admin User ID"
},
"cancelRequestedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancel Requested At"
},
"cancelledAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancelled At"
},
"completedPhases": {
"items": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"title": "Completedphases",
"type": "array"
},
"createdAt": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"deletedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Deletedcounts",
"type": "object"
},
"dryRun": {
"title": "Dry Run",
"type": "boolean"
},
"failedSteps": {
"items": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"retriable": {
"title": "Retriable",
"type": "boolean"
},
"step": {
"description": "Sub-step within the phase; defaults to the phase name.",
"title": "Step",
"type": "string"
}
},
"required": [
"phase",
"step",
"error",
"retriable"
],
"title": "PermadeleteFailedStep",
"type": "object"
},
"title": "Failedsteps",
"type": "array"
},
"heartbeatAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Heartbeat At"
},
"jobId": {
"title": "Job ID",
"type": "string"
},
"lastErrorSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error Summary"
},
"nextWakeupAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Next Wakeup At"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
]
},
"reasonDetails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason Details"
},
"requestedById": {
"title": "Requested By ID",
"type": "string"
},
"requestedByType": {
"enum": [
"user",
"service"
],
"title": "PermadeleteActorType",
"type": "string"
},
"retryCount": {
"title": "Retry Count",
"type": "integer"
},
"scope": {
"enum": [
"user",
"tenant"
],
"title": "PermadeleteScope",
"type": "string"
},
"skippedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Skippedcounts",
"type": "object"
},
"status": {
"enum": [
"created",
"queued",
"dispatched",
"running",
"retry_wait",
"cancel_requested",
"cancelled",
"manual_review",
"succeeded",
"failed_terminal"
],
"title": "PermadeleteStatus",
"type": "string"
},
"targetId": {
"anyOf": [
{
"type": "string"
},
{
"format": "uuid",
"type": "string"
}
],
"title": "Target ID"
},
"tenantId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Tenant ID"
},
"updatedAt": {
"format": "date-time",
"title": "Updated At",
"type": "string"
}
},
"required": [
"jobId",
"scope",
"targetId",
"status",
"phase",
"dryRun",
"requestedByType",
"requestedById",
"retryCount",
"completedPhases",
"deletedCounts",
"skippedCounts",
"failedSteps",
"createdAt",
"updatedAt"
],
"title": "PermadeleteJobResponse",
"type": "object"
}
Responses
Get permadelete job by job_ ID
Operation path: GET /api/v2/workloadPermadeleteJobs/{job_id}
Parameters
| Name |
In |
Type |
Required |
Description |
| job_id |
path |
string |
true |
Permadelete job ID |
Example responses
200 Response
{
"properties": {
"adminUserId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Admin User ID"
},
"cancelRequestedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancel Requested At"
},
"cancelledAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancelled At"
},
"completedPhases": {
"items": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"title": "Completedphases",
"type": "array"
},
"createdAt": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"deletedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Deletedcounts",
"type": "object"
},
"dryRun": {
"title": "Dry Run",
"type": "boolean"
},
"failedSteps": {
"items": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"retriable": {
"title": "Retriable",
"type": "boolean"
},
"step": {
"description": "Sub-step within the phase; defaults to the phase name.",
"title": "Step",
"type": "string"
}
},
"required": [
"phase",
"step",
"error",
"retriable"
],
"title": "PermadeleteFailedStep",
"type": "object"
},
"title": "Failedsteps",
"type": "array"
},
"heartbeatAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Heartbeat At"
},
"jobId": {
"title": "Job ID",
"type": "string"
},
"lastErrorSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error Summary"
},
"nextWakeupAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Next Wakeup At"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
]
},
"reasonDetails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason Details"
},
"requestedById": {
"title": "Requested By ID",
"type": "string"
},
"requestedByType": {
"enum": [
"user",
"service"
],
"title": "PermadeleteActorType",
"type": "string"
},
"retryCount": {
"title": "Retry Count",
"type": "integer"
},
"scope": {
"enum": [
"user",
"tenant"
],
"title": "PermadeleteScope",
"type": "string"
},
"skippedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Skippedcounts",
"type": "object"
},
"status": {
"enum": [
"created",
"queued",
"dispatched",
"running",
"retry_wait",
"cancel_requested",
"cancelled",
"manual_review",
"succeeded",
"failed_terminal"
],
"title": "PermadeleteStatus",
"type": "string"
},
"targetId": {
"anyOf": [
{
"type": "string"
},
{
"format": "uuid",
"type": "string"
}
],
"title": "Target ID"
},
"tenantId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Tenant ID"
},
"updatedAt": {
"format": "date-time",
"title": "Updated At",
"type": "string"
}
},
"required": [
"jobId",
"scope",
"targetId",
"status",
"phase",
"dryRun",
"requestedByType",
"requestedById",
"retryCount",
"completedPhases",
"deletedCounts",
"skippedCounts",
"failedSteps",
"createdAt",
"updatedAt"
],
"title": "PermadeleteJobResponse",
"type": "object"
}
Responses
Schemas
CreatePermadeleteJobRequest
{
"properties": {
"dryRun": {
"default": false,
"description": "Create a preview-only job. destructive phases must not run.",
"title": "Dry Run",
"type": "boolean"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
],
"description": "Controlled audit reason for the request."
},
"reasonDetails": {
"anyOf": [
{
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional audit context for any deletion reason.",
"title": "Reason Details"
}
},
"title": "CreatePermadeleteJobRequest",
"type": "object"
}
CreatePermadeleteJobRequest
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| dryRun |
boolean |
false |
|
Create a preview-only job. destructive phases must not run. |
| reason |
any |
false |
|
Controlled audit reason for the request. |
anyOf
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| reasonDetails |
any |
false |
|
Optional audit context for any deletion reason. |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
maxLength: 5000 minLength: 1 minLength: 1
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
HTTPValidationError
{
"properties": {
"detail": {
"items": {
"properties": {
"code": {
"description": "Machine-readable error type (e.g. 'missing', 'string_type').",
"title": "Code",
"type": "string"
},
"message": {
"description": "Human-readable description of the validation failure.",
"title": "Message",
"type": "string"
},
"path": {
"description": "Dotted path to the invalid field (e.g. 'runtime.containergroups.0.autoscaling').",
"title": "Path",
"type": "string"
}
},
"required": [
"path",
"message",
"code"
],
"title": "ValidationError",
"type": "object"
},
"title": "Detail",
"type": "array"
}
},
"title": "HTTPValidationError",
"type": "object"
}
HTTPValidationError
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| detail |
[ValidationError] |
false |
|
none |
PermadeleteActorType
{
"enum": [
"user",
"service"
],
"title": "PermadeleteActorType",
"type": "string"
}
PermadeleteActorType
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| PermadeleteActorType |
string |
false |
|
none |
Enumerated Values
| Property |
Value |
| PermadeleteActorType |
[user, service] |
PermadeleteFailedStep
{
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"retriable": {
"title": "Retriable",
"type": "boolean"
},
"step": {
"description": "Sub-step within the phase; defaults to the phase name.",
"title": "Step",
"type": "string"
}
},
"required": [
"phase",
"step",
"error",
"retriable"
],
"title": "PermadeleteFailedStep",
"type": "object"
}
PermadeleteFailedStep
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| error |
string |
true |
|
none |
| phase |
PermadeletePhase |
true |
|
none |
| retriable |
boolean |
true |
|
none |
| step |
string |
true |
|
Sub-step within the phase; defaults to the phase name. |
PermadeleteJobResponse
{
"properties": {
"adminUserId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Admin User ID"
},
"cancelRequestedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancel Requested At"
},
"cancelledAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Cancelled At"
},
"completedPhases": {
"items": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"title": "Completedphases",
"type": "array"
},
"createdAt": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"deletedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Deletedcounts",
"type": "object"
},
"dryRun": {
"title": "Dry Run",
"type": "boolean"
},
"failedSteps": {
"items": {
"properties": {
"error": {
"title": "Error",
"type": "string"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"retriable": {
"title": "Retriable",
"type": "boolean"
},
"step": {
"description": "Sub-step within the phase; defaults to the phase name.",
"title": "Step",
"type": "string"
}
},
"required": [
"phase",
"step",
"error",
"retriable"
],
"title": "PermadeleteFailedStep",
"type": "object"
},
"title": "Failedsteps",
"type": "array"
},
"heartbeatAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Heartbeat At"
},
"jobId": {
"title": "Job ID",
"type": "string"
},
"lastErrorSummary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Last Error Summary"
},
"nextWakeupAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Next Wakeup At"
},
"phase": {
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
},
"reason": {
"anyOf": [
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
},
{
"type": "null"
}
]
},
"reasonDetails": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason Details"
},
"requestedById": {
"title": "Requested By ID",
"type": "string"
},
"requestedByType": {
"enum": [
"user",
"service"
],
"title": "PermadeleteActorType",
"type": "string"
},
"retryCount": {
"title": "Retry Count",
"type": "integer"
},
"scope": {
"enum": [
"user",
"tenant"
],
"title": "PermadeleteScope",
"type": "string"
},
"skippedCounts": {
"additionalProperties": {
"type": "integer"
},
"title": "Skippedcounts",
"type": "object"
},
"status": {
"enum": [
"created",
"queued",
"dispatched",
"running",
"retry_wait",
"cancel_requested",
"cancelled",
"manual_review",
"succeeded",
"failed_terminal"
],
"title": "PermadeleteStatus",
"type": "string"
},
"targetId": {
"anyOf": [
{
"type": "string"
},
{
"format": "uuid",
"type": "string"
}
],
"title": "Target ID"
},
"tenantId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
],
"title": "Tenant ID"
},
"updatedAt": {
"format": "date-time",
"title": "Updated At",
"type": "string"
}
},
"required": [
"jobId",
"scope",
"targetId",
"status",
"phase",
"dryRun",
"requestedByType",
"requestedById",
"retryCount",
"completedPhases",
"deletedCounts",
"skippedCounts",
"failedSteps",
"createdAt",
"updatedAt"
],
"title": "PermadeleteJobResponse",
"type": "object"
}
PermadeleteJobResponse
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| adminUserId |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| cancelRequestedAt |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(date-time) |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| cancelledAt |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(date-time) |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| completedPhases |
[PermadeletePhase] |
true |
|
none |
| createdAt |
string(date-time) |
true |
|
none |
| deletedCounts |
object |
true |
|
none |
| » additionalProperties |
integer |
false |
|
none |
| dryRun |
boolean |
true |
|
none |
| failedSteps |
[PermadeleteFailedStep] |
true |
|
none |
| heartbeatAt |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(date-time) |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| jobId |
string |
true |
|
none |
| lastErrorSummary |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| nextWakeupAt |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(date-time) |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| phase |
PermadeletePhase |
true |
|
none |
| reason |
any |
false |
|
none |
anyOf
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| reasonDetails |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| requestedById |
string |
true |
|
none |
| requestedByType |
PermadeleteActorType |
true |
|
none |
| retryCount |
integer |
true |
|
none |
| scope |
PermadeleteScope |
true |
|
none |
| skippedCounts |
object |
true |
|
none |
| » additionalProperties |
integer |
false |
|
none |
| status |
PermadeleteStatus |
true |
|
none |
| targetId |
any |
true |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(uuid) |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| tenantId |
any |
false |
|
none |
anyOf
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
string(uuid) |
false |
|
none |
or
| Name |
Type |
Required |
Restrictions |
Description |
| » anonymous |
null |
false |
|
none |
continued
| Name |
Type |
Required |
Restrictions |
Description |
| updatedAt |
string(date-time) |
true |
|
none |
PermadeletePhase
{
"enum": [
"request_accepted",
"resolve_scope",
"external_cleanup",
"hard_delete",
"finalize"
],
"title": "PermadeletePhase",
"type": "string"
}
PermadeletePhase
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| PermadeletePhase |
string |
false |
|
none |
Enumerated Values
| Property |
Value |
| PermadeletePhase |
[request_accepted, resolve_scope, external_cleanup, hard_delete, finalize] |
PermadeleteReason
{
"enum": [
"user_erasure",
"tenant_decommission",
"retention_expired",
"regulatory_request",
"administrative_cleanup",
"other"
],
"title": "PermadeleteReason",
"type": "string"
}
PermadeleteReason
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| PermadeleteReason |
string |
false |
|
none |
Enumerated Values
| Property |
Value |
| PermadeleteReason |
[user_erasure, tenant_decommission, retention_expired, regulatory_request, administrative_cleanup, other] |
PermadeleteScope
{
"enum": [
"user",
"tenant"
],
"title": "PermadeleteScope",
"type": "string"
}
PermadeleteScope
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| PermadeleteScope |
string |
false |
|
none |
Enumerated Values
| Property |
Value |
| PermadeleteScope |
[user, tenant] |
PermadeleteStatus
{
"enum": [
"created",
"queued",
"dispatched",
"running",
"retry_wait",
"cancel_requested",
"cancelled",
"manual_review",
"succeeded",
"failed_terminal"
],
"title": "PermadeleteStatus",
"type": "string"
}
PermadeleteStatus
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| PermadeleteStatus |
string |
false |
|
none |
Enumerated Values
| Property |
Value |
| PermadeleteStatus |
[created, queued, dispatched, running, retry_wait, cancel_requested, cancelled, manual_review, succeeded, failed_terminal] |
ValidationError
{
"properties": {
"code": {
"description": "Machine-readable error type (e.g. 'missing', 'string_type').",
"title": "Code",
"type": "string"
},
"message": {
"description": "Human-readable description of the validation failure.",
"title": "Message",
"type": "string"
},
"path": {
"description": "Dotted path to the invalid field (e.g. 'runtime.containergroups.0.autoscaling').",
"title": "Path",
"type": "string"
}
},
"required": [
"path",
"message",
"code"
],
"title": "ValidationError",
"type": "object"
}
ValidationError
Properties
| Name |
Type |
Required |
Restrictions |
Description |
| code |
string |
true |
|
Machine-readable error type (e.g. 'missing', 'string_type'). |
| message |
string |
true |
|
Human-readable description of the validation failure. |
| path |
string |
true |
|
Dotted path to the invalid field (e.g. 'runtime.containergroups.0.autoscaling'). |