API reference
All operations
LEADS

Deletes an existing lead.

The lead is marked as deleted and is no longer returned by the lead endpoints.

DELETE/api/v2/leads/{leadId}

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

leadIdpathinteger · int32required

ID of the lead to delete. Must be greater than zero.

Responses

Lead deleted successfully.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

databoolean
boolean