curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/files/{file_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Purge
Terminal file purged with a durable audit record; pending and linked source data are protected
DELETE
/
v1
/
hosted-sftp
/
files
/
{file_id}
curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/files/{file_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Path parameters
string
required
Resource identifier
Response
No response body. Terminal file purged with a durable audit record; pending and linked source data are protected.Status codes
| Code | Meaning |
|---|---|
200 | Terminal file purged with a durable audit record; pending and linked source data are protected |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/hosted-sftp/files/{file_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Last modified on October 20, 2026