Delete Consentless Lead

This request enables you to delete a 'Consentless' lead.

'Consented' leads can only be deleted using the Teams admin center.

URI

Copy
{{baseUrl}}/api/v2/oc/lead?msTenantID=[Microsoft TenantID]

HTTP Method

DELETE

Request Parameters

Parameter

Type

Description

msTenantID

string

Microsoft Azure Tenant subscription Id of the customer lead.

You can also use the Lead Id "id" (see Get All OC Leads).

Response Codes

200 Success

1 Indicates a successful deletion. Run endpoint Get Services Brief Details (V3) to confirm.

400 Bad Request
Copy
Invalid lead
404 Not Found
Copy
"Invalild lead"