Skip to main content
DELETE
/
contacts
/
{identifier}
Delete Contact
curl --request DELETE \
  --url https://api.brew.new/v1/contacts/{identifier} \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Contact deleted"
}

Authorizations

Authorization
string
header
required

Include your Brew API key as a Bearer token in the Authorization header. Example: Authorization: Bearer bw_api_your_key_here

Path Parameters

identifier
string
required

Either the contact's email address or their userId. When using an email address, you must URI-encode it (replace @ with %40). - Email: user%40example.com (for user@example.com) - User ID: user_12345

Response

Contact deleted successfully

success
boolean
required

Indicates the contact was successfully deleted

Example:

true

message
string
required

Confirmation message

Example:

"Contact deleted"

I