Updates an existing poll. This can change a poll's title, description, and options. Updating is only possible within one hour after creation.
PATCH
/api/polls/{pollId}
Authorizations
api_key
Requests manipulating data need to supply a CSRF token
TypeAPI Key (header: X-CSRF-Token)
Parameters
Path Parameters
pollId*
Typestring
RequiredPattern
"[1-9][0-9]*"
Request Body
application/json
JSON
{
"name": "Test poll",
"description": "This is a new description of the poll.",
"options": undefined
}
Responses
Success