Change poll status in chatroom
POST/bv/chatroom/v1/chatrooms/polls/:id:change
Alters the current status of a poll in the chatroom. Available actions include:
ACTION_START: Applicable when the current status isPOLL_STATUS_QUEUED.ACTION_CLOSE: Applicable when the current status isPOLL_STATUS_ACTIVE.ACTION_ARCHIVE: Applicable when the current status isPOLL_STATUS_CLOSED. Authorization requires the chatroom token with theadminrole.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- default
A successful response.
A unauthenticated response.
The header authorization was missing or unidentified.
A forbidden response.
It means that the provided authorization did not have enough permission to access the resource or the API.
A server error response. There are more HTTP status code mappings listed on here.
An unexpected error response.