curl --request DELETE \
--url https://api.example.com/polls/{poll_id} \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Удаление опроса.
curl --request DELETE \
--url https://api.example.com/polls/{poll_id} \
--header 'X-API-Key: <api-key>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}