Delete (DELETE) Labor Code

Use this API to delete a single labor code from Account Configuration.

To delete a labor code:

Execute a DELETE command on the endpoint {{url}}/accountConfiguration/laborCode/<code>, where the code variable is replaced by the two character alphanumeric ID of the labor code you want to delete.

For example, here is a request, using cURL, to delete the specified labor code when the variable code is set to AX.

curl --request DELETE \
  --url 'https://{{url}}/accountConfiguration/laborCode/AX' \
  --header 'authorization: Bearer {{oauth_token}}' \
  --header 'content-type: application/json'
A successful DELETE of the labor code returns the status code 200 OK.