Remove song request

Remove one song from the Media Request queue.

DELETE https://cotlet.dev/api/v1/streamelements/songs/{song_id}/request

write Confirm

Removes one song from the queue. The viewer who asked for it sees it gone, and re-adding it takes a new request. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: remove_song_request
NameTypeDescription
song_id string required string Song ID from list_song_requests.

Request

cURL
curl -X DELETE https://cotlet.dev/api/v1/streamelements/songs/song_8c41d2/request \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("streamelements", "remove_song_request", {"song_id":"song_8c41d2"})
Node.js
const result = await cotlet.call('streamelements', 'remove_song_request', {"song_id":"song_8c41d2"});
CLI
cotlet call streamelements remove_song_request --data '{"song_id":"song_8c41d2"}'

Example response

JSON

{
  "song_id": "sg_8d210e",
  "removed": true
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.