Delete a contract
Deletes an existing contract by its internal ID.
Tip
Check the Swagger page for more technical information on the endpoints.
Endpoint details
DELETE
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/contracts/{contractId}
Headers: Authorization: Bearer {token}, User-Agent: {agent}
Scope: connector-protimeapi-contracts.write
URL parameters
| Parameter | Description |
|---|---|
{contractId} |
The internal ID of the contract. External references are not accepted. |
Error responses
| Status | Condition |
|---|---|
400 |
The contract cannot be deleted, including when no contract exists for the given ID |
401 |
Missing or invalid access token, or insufficient scope |
Success response
200 OK. The response body is empty.
Examples
Delete a contract
DELETE
https://<tenant>.myprotime.eu/connector/protimeapi/api/v1/contracts/186