Skip to main content
DELETE

Delete a sales channel

Scope:sales:sales-channels.write
https://api.holded.com/api/v2/sales-channels/{salesChannelId}

Permanently deletes a sales channel. You cannot delete a channel that is assigned to contacts or documents. Consider archiving it instead to preserve existing references.

Parameters

Path parameters

salesChannelIdstringrequired

Sales Channel ID (24-char hex ObjectId)

Request

python
import requests

url = "https://api.holded.com/api/v2/sales-channels/{salesChannelId}"
headers = {
    "Authorization": "Bearer YOUR_API_KEY",
    "Accept": "application/json",
}

response = requests.delete(url, headers=headers)
print(response.json())

Responses

Success responses

204Resource deleted

Error responses

401Invalid or missing API keyapplication/json
403Insufficient permissionsapplication/json
404Sales channel not foundapplication/json