Skip to main content
POST
/
v1
/
admin
/
distribution
/
channels
/
batch-delete
Batch delete channels
curl --request POST \
  --url https://{operatorDomain}/v1/admin/distribution/channels/batch-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "<string>"
  ]
}
'
{
  "deletedIds": [
    "<string>"
  ],
  "total": 123,
  "succeeded": 123,
  "failed": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Body

application/json
ids
string[]
required

Response

200 - application/json

Batch delete result

deletedIds
string[]
total
integer
succeeded
integer
failed
object[]