DELETE /users/assignment/{role}/{relId}

Request parameters

ParameterTypeDescription
rolestringPossible roles: "employee", "approver", "manager", "administrator", "main_administrator"
relIdlongAssignment ID

Responses

CodeTitleDescription
200SuccessReturned if request was successful.
400Bad RequestReturned if request was bad or any other error occured.
401UnauthorizedReturned if request was not authorized (eg. due to bad API key).
404Not FoundReturned if request could not be found.

Request example

DELETE /users/assignment/approver/3213640

Response JSON example

{
"items": [
{
"message": "The assignment was successfully deleted.",
      "data": {
        "relId": 3213640,
        "role": "approver"
      }
} ],
  "valid": null
}