DELETE
/
api
/
v3
/
polls
/
{pollId}
delete 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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Authorization
string
required
Content-Type
string
required

Path Parameters

pollId
string
required

Response

200
application/json

poll deleted

The response is of type object.