Skip to Content
put.ioDevelopers
Register an app

Delete files

POSThttps://api.put.io/v2/files/delete

Query

skip_trashboolean

Delete permanently instead of moving to trash. Defaults to the account trash setting.

partial_deleteboolean

Skip folders that exceed the trash item limit instead of failing. Any non-empty value enables it.

Body

application/x-www-form-urlencoded

file_idsarrayRequired

Returns

200

skippedinteger

Number of folders skipped by partial_delete.

cursorstring | null

Cursor of the skipped folders. null when none were skipped.

Errors

JSON with error_type, error_message, error_id and extra.

429Too many requests. Limits are per token and per IP. Wait until X-RateLimit-Reset, then retry.