Skip to main content
POST
/
libraries
/
{libraryId}
/
folders
/
bulk
Bulk Delete Folder
curl --request POST \
  --url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/folders/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "folder_ids": [
    "50f8d3ae-1d63-48de-99a8-7012407a4684",
    "0d6b0b8e-4d62-4879-b583-05082216df54"
  ]
}
'
{
  "folder_ids": [
    "50f8d3ae-1d63-48de-99a8-7012407a4684",
    "0d6b0b8e-4d62-4879-b583-05082216df54"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

libraryId
string
required

Unique identifier of the library.

Body

application/json
folder_ids
string[]
required

Array of deleting folders id

Response

The response is of type object.