Delete

To delete an existing poll -> execute a DELETE request against the /rooms/:roomId/polls/:id endpoint.

The id uniquely identifies the polls.

Deletion of a poll is a destructive operation which cannot be undone.

Request

curl --request DELETE \
  --url https://api.digitalsamba.com/api/v1/rooms/c39d7c40-7ff7-4faa-b06f-698a639a9523/polls/c15102d9-ed47-468c-8e5a-86be0c97c296 \
  --user YOUR_TEAM_ID:YOUR_DEVELOPER_KEY

Response (204 -> No Content)

Response is empty because the poll was deleted and there is no content to return.

Last updated