Create Asset Deletion Job
Create an asynchronous deletion job for managed Real Face and Virtual Portrait assets.
Authentication
Authorization Bearer — JWT session or sk-* API key.
Headers
Idempotency-Key is required (maximum 128 characters). Reuse it only when retrying the identical request body.
Request body
ASSET_IDS: provide 1–20 unique public managed-asset IDs, such asta_..., and setconfirm: true. Ordinary library assets are not supported by deletion jobs.ALL_OWNED_BY_MEorALL_IN_CURRENT_SCOPE: first call the preview endpoint and provide itsconfirmationToken.
1{
2 "selectionType": "ASSET_IDS",
3 "assetIds": ["ta_1234567890abcdef", "ta_fedcba0987654321"],
4 "confirm": true
5}Poll the returned jobId. Individual assets can be retried or fail independently; do not treat job creation as completed deletion.
Was this page helpful?