Skip to content
MothershipDevelopers

API referenceAddress Book

Delete an address book entry

This endpoint removes the address book entry represented by addressId. Quotes and shipments that used it keep their addresses.

DELETE/address-book/{addressId}
Environment
https://sandbox.api.mothership.com/beta
curl --request DELETE \
  --url 'https://sandbox.api.mothership.com/beta/address-book/addressId' \
  --header "Authorization: Bearer $MOTHERSHIP_API_TOKEN" \
  --header 'Accept: application/json'
Reads your token from $MOTHERSHIP_API_TOKEN
Response
{
: {
: "3f1c2a9e-5b7d-4e8a-9c61-2d4f8b0e7a15",
: true
}
}

Hover a key to see what it means. Click it to jump to the field.

Authorization: Bearer <token>

Your sandbox API token. See Authentication.

  • addressIdstring<uuid>Required

    ID of the address book entry

    • dataobjectRequired
      • idstring<uuid>Required

        ID of the address book entry

      • deletedbooleanRequired

        Always true