Skip to main content Skip to navigation

Delete an assignment

Deletes an assignment object if a valid identifier was provided.

Permission requirements

The user must have Permissions.Assignment.Delete ("Delete an assignment") on the assignment. By default, roles that have this permission are:

  • Module Manager
  • Departmental Administrator
  • User Access Manager

Information about API permissions

Definition

DELETE https://tabula.warwick.ac.uk/api/v1/module/:moduleCode/assignments/:assignmentId

URL substitution variables

:moduleCode The lowercase form of the module code for the module containing the assignment, e.g. cs118
:assignmentId The unique identifier for the assignment

Example request

DELETE https://tabula.warwick.ac.uk/api/v1/module/cs118/assignments/2552f556-6210-4de7-bb8e-01a3180f609e

Response parameters

An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK and the following parameters:

success Boolean true
status The string "ok"

Example response

{
  "success": true,
  "status": "ok"
}

Tabula API Methods