Delete

Delete

Delete

Deletes a lead source from an account.

Request

Method
URL
DELETE

Path Parameters

Name
Required
Type
Description
accountUniqueId

Guid
The unique ID of the account.
itemUniqueId

Guid
The unique ID of the lead source.

Headers

Name
Required
Type
Description
APIKey

Guid
A valid API key with a scope of AccountLists

Remarks

If this lead source is currently referenced elsewhere on the account, the delete is rejected with a 409 conflict instead of being applied.

Response

Headers

None

Status Code

Code
Description
204 No Content
The lead source was deleted.
401 Unauthorized
The API key is missing, invalid, disabled, or does not have the correct scope.
403 Forbidden
The API key does not belong to this account, the account does not have the API keys feature enabled, or the key does not have the required scope.
404 Not Found
No lead source was found with that id for this account.
409 Conflict
In use. The lead source is referenced elsewhere on the account and cannot be deleted.

Body

None