Unchoose an image voting entry (SingleChoice image votings only)

DELETE /Api/ImageVotingEntries/{id}/Choice

Requires verified email; Requires one of the following permissions: ImageVotings.UnchooseActiveImageVotingEntry, ImageVotings.UnchooseImageVotingEntry; Requires the following features to be enabled: ImageVotings

Path parameters

  • id integer(int32) Required

Responses

DELETE /Api/ImageVotingEntries/{id}/Choice
curl \
 -X DELETE https://app.lovassy.hu/Api/ImageVotingEntries/{id}/Choice \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"aspectKey":"string"}'
curl \
 -X DELETE https://app.lovassy.hu/Api/ImageVotingEntries/{id}/Choice \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: text/json"
curl \
 -X DELETE https://app.lovassy.hu/Api/ImageVotingEntries/{id}/Choice \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/*+json"
Request examples
{
  "aspectKey": "string"
}
Response examples (404)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}