DELETE /administrator/restfulsimplifiedcandidate/id

Delete a candidate.

The underlying data model where the item is deleted from is defined in devilry.apps.core.models.Candidate. The Simplified API that the server forwards this request to is devilry.apps.administrator.simplified.simplifiedcandidate.SimplifiedCandidate.delete().

Request

Example

DELETE /administrator/restfulsimplifiedcandidate/id

Required request parameters

id

The unique identifier of a candidate. You will typically get this id in response from a search.

Response

On success

As long as the candidate is deleted without an error, the response is HTTP 200 with a JSON object containing the id in the response body.

Example

200 OK

{
    id: 10
}

On error

On errors, we respond with one of the HTTP Error status codes