Skip to main content
DELETE
/
v1
/
delete-contact
/
{company_id}
/
{contact_id}
Delete a contact
curl --request DELETE \
  --url https://api.salescaptain.com/v1/delete-contact/{company_id}/{contact_id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "Contact deleted successfully!",
  "data": {
    "contact_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "message": "Contact deleted successfully"
  }
}

Authorizations

Authorization
string
header
required

Authentication token required for accessing protected endpoints. The token should be obtained from the main SalesCaptain authentication service.

Path Parameters

company_id
string<uuid>
required

Unique identifier for the company

Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

contact_id
string<uuid>
required

Unique identifier for the contact to delete

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Response

Contact deleted successfully

message
string
Example:

"Contact deleted successfully!"

data
object