List eligibility for a deletion request
GET
/v1/tenants/current/deletion-requests/eligibilitycurl -X GET 'https://api.embodiflow.io/v1/tenants/current/deletion-requests/eligibility' \
-H 'Authorization: Bearer $EMBODIFLOW_PAT'Authorization
Send a personal access token with every request.
- Authorization: Bearer PAT
Query parameters
- dryRunstring
When true, report the exact t/{storageKey}/ prefix and per-bucket object counts without deleting.
Allowed valuestruefalse10
Responses
Success
- dataobjectrequired
- tenantIdstringrequired
- eligibleone ofrequired
- blockersarray<TenantDeletionBlockerDto>required
- dryRunobject
- metaobjectrequired
- requestIdstringrequired
Response example
{
"data": {
"tenantId": "string",
"eligible": false,
"blockers": [
{
"kind": "legal_hold",
"message": "string",
"resourceId": "string",
"resourceType": "string"
}
],
"dryRun": {
"prefix": "string",
"buckets": [
{
"bucketName": "string",
"locationRole": "string",
"storageClass": "shared",
"objectCount": 0,
"totalBytes": 0,
"wouldDeleteBucket": false,
"truncated": false
}
]
}
},
"meta": {
"requestId": "string"
}
}Servershttps://api.embodiflow.io/v1https://api.embodiflow.dev/v1