Delete the specified channel from the merchant's account. This will remove all data and logging associated with this channel as well, and is a destructive action. Use with caution.
DELETE
/2024-09/channels/{channel}
curl \
--request DELETE 'https://app.merchanthq.com/api/2024-09/channels/1e7f0a0f-b5a9-4d1a-a2d5-d0e0c2b1c3d4' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (401)
{
"message": "Unauthorized"
}
Response examples (403)
{
"message": "This action is unauthorized."
}
Response examples (404)
{
"message": "Not found"
}