curl --request DELETE \
--url https://apix.us.amity.co/api/v3/polls/{pollId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'
{
"status": "<string>",
"data": {
"success": true
}
}
delete a poll
curl --request DELETE \
--url https://apix.us.amity.co/api/v3/polls/{pollId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: <content-type>'
{
"status": "<string>",
"data": {
"success": true
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
poll deleted
The response is of type object
.