Delete a channel
Remove a channel from the platform.
Mutation
mutation DeleteChannel($id: Int!) {
channelDelete(id: $id)
}
Variables
{
"id": 72
}
Response
{
"data": {
"channelDelete": true
}
}
How it works
The mutation returns true when the channel is successfully deleted. Deleting a channel does not remove the products or categories associated with it. The catalog root and its contents remain available for other channels.
See also
- List channels — retrieve all configured channels
- Create a channel — add a new channel