Delete a user
DELETE/users/:userId
Deletes a user in the votura backend. Be aware that deleting a user will also trigger a deletion of all associated elections.
Request
Responses
- 204
- 400
- 401
- 404
- 406
- 409
- 429
- default
No Content. The request was successfully executed. The user account was deleted.
Bad Request. The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax, size too large, invalid request message framing, or deceptive request routing). Note, the actual error message may be different from the example one.
Unauthorized. The request has not been applied because the user does not have valid authentication credentials for the target resource. Note, the actual error message may be different from the example one.
Not Found. The requested resource could not be found but may be available in the future. Subsequent requests by the client are permissible. Note, the actual error message may be different from the example one.
Not Acceptable. The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource.
Too Many Requests. The user has sent too many requests in a given amount of time.
Internal Server Error. A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.