DELETE /users/assignment/{role}/{relId}
Request parameters
Parameter | Type | Description |
---|---|---|
role | string | Possible roles: "employee", "approver", "manager", "administrator", "main_administrator" |
relId | long | Assignment ID |
Responses
Code | Title | Description |
---|---|---|
200 | Success | Returned if request was successful. |
400 | Bad Request | Returned if request was bad or any other error occured. |
401 | Unauthorized | Returned if request was not authorized (eg. due to bad API key). |
404 | Not Found | Returned 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
}