Skip to content

Delete an archive.

Method

DELETE https://papi.afi.ai/api/v1/tenants/{tenant_id}/archives/{id}

Description

Schedules the archive for deletion. The default delay is 7 days, during which the deletion can be canceled.

Path params
tenant_id string required

Tenant ID that owns the archive.

id string required

ID of the archive to delete.

Query params
reason string required

Reason for requesting archive deletion. Provide a mandatory description up to 128 bytes long.

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

Response example
{}