DELETE/video/playlist/{playlist_id}/asset

Remove assets from a playlist

Removes one or more video assets from a playlist. Supply the asset IDs in delete_list to identify the assets to remove.

1 parameter · 1 body field
playlist_idstringrequired

The ID of the playlist to remove assets from.

Asset removal request. delete_list is required.

delete_listarray<string>required

Array of video asset ids to delete

4 status codes
200Returns an object with a success value indicating that the removal completed.
successbooleanoptional
Default:true
400Returned when the request is invalid.

One documented failure

  • incorrect_playlist_id

    No playlist with provided id exists.

errorobjectrequired
401Returned when the request has a missing or invalid API key or bearer token.

One documented failure

  • invalid_api_key

    API key supplied with request is invalid

errorobjectrequired
403Returned when the account is unpaid or the authenticated user has insufficient role permissions.

One documented failure

  • unauthorized

    You don't have access to this feature. Please contact your organization owner.

errorobjectrequired

Error handling

A 400 is returned for a bad request. A 401 is returned when the request has a missing or invalid API key or bearer token. A 403 is returned for an unpaid account or insufficient role permissions. The playlist_id path parameter identifies the playlist, and delete_list is required and must contain the asset IDs to remove.