Skip to main content
DELETE
Delete a CDN folder

Authorizations

Authorization
string
header
required

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

Query Parameters

folder
string
required

Name of the folder to delete (same character rules as filenames: letters, numbers, underscores, and hyphens; 1–64 characters).

Response

Files deleted. Check remaining to see whether the folder still has files.

message
string
deleted_files
integer

Number of files deleted by this call (at most 3,000)

remaining
boolean

True if the folder still has files. Call the endpoint again until this is false.