v2

Delete a batch of files or directories

Changed on

Use this method to delete the list of filenames

post/v2/files/batch/delete

Request

  • Base URL
    https://api.sirv.com
  • Auth
    none declared

Request body

filenamesstring[] required

Example request

{
  "filenames": [
    [
      "/REST API Examples/filename.jpg",
      "/REST API Examples/directory/"
    ]
  ]
}

Response

Successful

idstring required

Batch delete job ID

Changes