Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Deletes a poll.

  • Deletes the a poll using the provided poll ID.

  • Response returns code 200 if the poll deletion was successful else error messages are generated. See Error codes.

...

ConfluenceBaseURL is the URL of your Confluence instance.

Parameters

The url URL parameter should be replaced with guid of the poll.

  • pollguid - guid GUID of the poll *

Example request URL

Expand
titleSample request URL for delete

<ConfluenceBaseURL>/rest/polls/1.0/poll/f2945cb488a341198bb7ecf173f5db07

...

Code

Cause of error

Message displayed

404

Poll with given poll guid 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’unauthorized.