Delete the archive¶
Method¶
DELETE https://papi.afi.ai/api/v1/tenants/{tenant_id}/archives/{id}
Description¶
Schedules archive data for deletion. The default delay for deletion is 7 days, during which the deletion can be canceled.
Path params¶
tenant_id
string
required
ID of the tenant where the archive belongs. |
id
string
required
ID of the archive to be deleted. |
Query params¶
reason
string
required
Reason for requesting archive deletion. Must be a mandatory description with a maximum of 128 bytes. |
curl -X DELETE \
-H 'Authorization: {api-key}' \
https://papi.afi.ai/api/v1/tenants/{tenant_id}/archives/{id}?reason={value}
Successful response (200) schema¶
object |