Delete the channel secret
delete
/content/management/api/v1.1/channels/{id}/channelSecret
Delete the secret of a given channel
Request
Path Parameters
-
id: string
Deletes the secret for the given channelId
Header Parameters
-
X-Requested-With: string
A custom header to mitigate CSRF attacks.Allowed Values:
[ "XMLHttpRequest" ]
Response
Supported Media Types
- application/json
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 the secret of a given channel 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}/channelSecret'
Example:
Deletes the secret of the channel.
/content/management/api/v1.1/channels/CC793A08B59F65C5FEB7A460B93FC83D8390695C8E93/channelSecret
Response Code
HTTP/1.1 204 No Content