Delete a person allocation
DELETE/api/people-allocations/:id
Required permissions:
- planning.modify: to delete allocation for a project where the user is PM or Account
- planning.modify_other: to delete allocation for a project where the user is not PM nor Account
- planning.modify_past: to delete allocation on today or in a date in the past
Here the dedicated support page.
Request
Path Parameters
id integerrequired
The ID of the allocation to delete
Header Parameters
Wethod-Company stringrequired
The company you want to interact with
Wethod-Version stringrequired
The API version you want to use
Responses
- 200
- 401
- 404
Allocation successfully deleted.
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "string",
"message": "string"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
key string
Error unique key
message string
Human-readable message describing the error
{
"key": "not_found",
"message": "string"
}
Loading...