DELETE /administrator/restfulsimplifiedassignment/id

Delete a Assignment.

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

Request

Example

DELETE /administrator/restfulsimplifiedassignment/id

Required request parameters

id

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

Response

On success

As long as the Assignment 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