Delete a file

Delete a file

DELETE/api/v1/files/{id}

DELETE /files/{id}
curl -X DELETE 'https://www.unitpost.com/api/v1/files/123' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'

Delete a file and its bytes before its 24 hours are up. What already used it keeps its copy. Requires the sms:manage or templates:write or branding:write capability.

Parameters1 field
FieldTypeDescription
idrequiredstring · path—
204401403404422

Search docs and guides

Search the docs and product guides.