Skip to content
campaiDeveloper
campai.com

Misc ยท Assemblies

DELETE/{organizationId}/{mandateId}/misc/assemblies/{assemblyId}/votes/{voteId}

Delete vote

Deletes a motion or an election of a meeting with its rounds that were never started. A vote with a started round stays, as it is part of the minutes; annul its rounds instead.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • mandate.read
  • assembly.edit

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • assemblyIdidrequired
  • voteIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request DELETE 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/misc/assemblies/YOUR_ASSEMBLY_ID/votes/YOUR_VOTE_ID' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.