Skip to main content

Delete Single Address Book

You can delete a single address book associated with a shipper, for doing so you will require addressBook Id

URL Config
Endpoint: https://api.dps.io/api
APIVersion: v1
route: addressbook
path: <YOUR_SHIPPER_HASH>/<YOUR_ADDRESS_BOOK_ID>
Method
DELETE
URL
https://api.dps.io/api/v1/addressbook/05K9****************************JG6a/187
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Request Body

Curl request
curl --location --request DELETE 'https://api.dps.io/api/v1/addressbook/05K9****************************JG6a/187' \
--header 'x-api-key: <your-api-key>' \
--header 'ShipperHash: <your-shipper-hash>' \
--header 'Content-Type: application/json' \
--data-raw ''
Response
{
"message": "Record has been deleted successfully"
}