Refresh channel secret

put

/content/management/api/v1.1/channels/{id}/channelSecret

Refresh secret for given channel

Request

Path Parameters
Header Parameters
Back to Top

Response

Supported Media Types

201 Response

Created.
Body ()
Root Schema : ChannelSecretService
Type: object

400 Response

Bad request.

403 Response

Forbidden.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to refresh secret for a given channel by submitting a PUT request on the REST resource using cURL.

curl -X PUT -H 'Content-Type: application/json' -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/channels/{id}/channelSecret'

Example:

Returns the refreshed secret for the channel with id CC793A08B59F65C5FEB7A460B93FC83D8390695C8E93.

/content/management/api/v1.1/channels/CC793A08B59F65C5FEB7A460B93FC83D8390695C8E93/channelSecret

Response Body

{
    "channelSecret": "XMGCrjdEy3kX18YsrDo8rV044znZR1x5IafKPKjAWYY"
}
Back to Top