Page History
Delete
This API call deletes a list of files. The deleted files are moved to TRASH directory. If If a file is already in TRASH, it will be permanently deletedbe permanently deleted.
This action is a acts as background action if length(ids)>10.
Resource URL
/api/1.0.1/file/delete
Resource Information
Response formats | JSON |
Requires authentication? | Yes |
Rate limited? | Yes |
Requests / 15-min window (user auth) | 15 |
HTTP Method | POST |
Response code | 200/202 |
Parameters
Name | Type | Default Value | Validation | Description |
ids required | uuid[] | - | uuid4[] | array of file IDs to delete |
Example Request URL
Example Result
Background action (202)
Code Block | ||
---|---|---|
| ||
{"job_id": <uuid>} |
Instant action (200)
Code Block | ||
---|---|---|
| ||
{"ids": [<uuid>...]} |