DELETE
/
v1
/
apps
/
{appId}
/
files
cURL
curl --request DELETE \
  --url https://api.camposcloud.com/v1/apps/{appId}/files \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "files": [
    "<string>"
  ]
}'
{
  "success": [
    "<string>"
  ],
  "failed": [
    "<string>"
  ]
}
This endpoint has a rate limit of 1 request every 3 seconds.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appId
string
required

ID of the application to delete files from

Body

application/json

List of file paths to delete

The body is of type object.

Response

200
application/json

Files deleted successfully

The response is of type object.