Skip to main content
DELETE
Deletion is permanent and cannot be undone. The client can no longer log in, all of its API keys are revoked immediately, and it is unlinked from any SmartServers, servers and infrastructure it was assigned to. Clients with no API keys are deleted the same way.
This endpoint is limited to 5 requests per minute per account. Requests over the limit return 429.

Path Parameters

number
required
ID of the client to delete. Must belong to your account.

Query Parameters

string
required
Your SmartLead API key (client API keys are not allowed)
string
required
Email address of the client you are deleting. It must match the email of the client with this id on your account (case-insensitive). This guards against deleting the wrong client: on a mismatch the request returns 400 and nothing is deleted.
boolean
default:"false"
Also reduce your paid client add-on subscription by one seat. Ignored for accounts with grandfathered whitelabel pricing. Rejected with 406 if it would take you below the clients included free in your plan.

Rate Limit

  • Every request counts, including ones rejected for invalid parameters.
  • Requests over the limit return 429 until the window resets; retry after 60 seconds.
  • Your account’s general API rate limit still applies on top of this.

Response

boolean
true when the client was deleted
number
ID of the deleted client
number
Number of the client’s active API keys that were revoked (0 if it had none)