Reopen poll

Reopens a poll indicated with the poll ID.

  • Reopens the poll with the given poll ID.

  • The response returns code 200 if the poll reopening was successful else error messages are generated. See Error codes.

The operation uses basic authentication.

Resource URL

PUT Method on <ConfluenceBaseURL>/rest/polls/1.0/poll/{pollguid}/reopen

ConfluenceBaseURL is the URL of your Confluence instance.

Parameters

The URL parameter must be replaced with GUID of the poll.

  • pollguid - GUID of the poll *

Example request URL

<ConfluenceBaseURL>/rest/polls/1.0/poll/ffb270e1aa0b4ba7bca4507503981efd/reopen

Example response

{
"result": "ok",
"guid": "ffb270e1aa0b4ba7bca4507503981efd",
"status": "200"
}

Error codes

Code

Cause of error

Message displayed

Code

Cause of error

Message displayed

404

Poll with given poll GUID is not found.

Operation failed with error poll not found.

403

User is not permitted to perform a particular operation.

Operation failed with error not allowed.

401

Invalid user credentials.

Operation failed with error unauthorized.

Â