Cancel vote for submissionId
DELETE/vote/cancel/:submissionId
Cancel vote for submissionId
Request
Path Parameters
submissionId submissionIdrequired
The submissionId to cancel the vote for
Responses
- 200
- 401
- 403
- 404
- 503
- default
Vote cancelled successfully or no vote to cancel
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
Submission not found
Schema is not open for vote
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"code": 503,
"message": "Schema is not open for vote"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...