Delete a carrier account
How to delete an existing carrier account via API
To delete a carrier account, send a DELETE
request to the /api/carrier_accounts/:id
endpoint, where id
is the id of the carrier account that you want to delete.
Request
DELETE https://yourdomain.commercelayer.io/api/carrier_accounts/:id
Example
The following request tries to delete the carrier account identified by the ID "xYZkjABcde":
curl -g -X DELETE \
'https://yourdomain.commercelayer.io/api/carrier_accounts/xYZkjABcde' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer your-access-token'
Last updated