Skip to main content

Delete address

DELETE 

/api/address/:id

Delete an existing address associated with the company.Functionality:- Permanently deletes the specified address- Removes the address reference from the company's address list- Validates that the address belongs to the authenticated companyRestrictions:- Only addresses belonging to the authenticated company can be deleted- The address ID must be valid and exist- An address currently in use by active operations cannot be deletedUsage Example:bashcurl -X DELETE 'https://api.demo.cargoffer.com/api/address/507f1f77bcf86cd799439011' \ -H 'X-API-KEY: your_api_key'

Request

Responses

Address successfully deleted