Labours
Delete a labour
Deletes a labour; the response has no body.
DELETE
cURL
Deletes the labour with this
id. A successful delete returns 204 with no body, and reading the labour afterwards returns 404. A labour that has been booked on an order cannot be deleted; cancel it instead.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set
host to your Exsited API host name and paste an access token from Get an access token.Authorizations
An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.
Path Parameters
The labour's id, as Create a labour and List labours return it. Despite the parameter name, pass the id.
Response
204
The labour is deleted. No body.