Delete an assignment

Delete an assignment

Deletes an existing assignment record.

Caution

This endpoint is only available if clients are not using Planning Flex or Shift.

Tip

Check the Swagger page for more technical information on the endpoints.

Endpoint details

DELETE
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/assignments/{id}

Headers: Authorization: Bearer {token}, User-Agent: {agent} Scope: connector-protimeapi-assignments.write

URL parameters

Parameter Description
{id} The internal ID of the assignment.

External references

This endpoint does not support external references.

Error responses

Status Condition
400 Validation failed (invalid assignment ID or business rule violation)
401 Missing or invalid access token, or insufficient scope

Success response

200 OK

Examples

Delete an assignment by internal ID

Example deleting assignment with ID 757085:

DELETE
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/assignments/757085