Delete a Channel
delete
/content/management/api/v1.1/channels/{id}
Deletes a channel.
Request
Path Parameters
-
id: string
id of the channel.
Header Parameters
-
X-Requested-With: string
A custom header to mitigate CSRF attacks.Allowed Values:
[ "XMLHttpRequest" ]
Response
204 Response
No content.
400 Response
Bad request.
403 Response
Forbidden.
404 Response
Not found.
500 Response
Internal server error.
Examples
The following example shows how to delete a channel using its ID by submitting a DELETE request on the REST resource using cURL.
curl -i -X DELETE -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/channels/{id}'
Example:
/content/management/api/v1.1/channels/CC3CF44049B94207BE552A345E74319B10F86A56D2F7
Response Code
HTTP/1.1 204 No Content