Rotate generated keys for the Channel.
POST {{baseUrl}}/odaInstances/:odaInstanceId/channels/:channelId/actions/rotateKeys
This will generate new keys for any generated keys in the Channel (eg. secretKey, verifyToken). If a Channel has no generated keys then no changes will be made. Ensure that you take note of the newly generated keys in the response as they will not be returned again.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. This value is included in the opc-request-id response header. | |
if-match | string | For optimistic concurrency control in a PUT or DELETE call for | |
a Digital Assistant instance, set the if-match query parameter | |||
to the value of the ETAG header from a previous GET or POST | |||
response for that instance. The service updates or deletes the | |||
instance only if the etag that you provide matches the instance's | |||
current etag value. | |||
Accept | string |
RESPONSES
status: OK
{"id":"ullamco ","name":"ex proident ipsum","category":"APPLICATION","type":"OSS","lifecycleState":"UPDATING","timeCreated":"1999-05-17T13:01:09.097Z","timeUpdated":"1954-06-25T16:21:20.277Z","definedTags":{"incididunt2_":{"mollit0":{}}},"description":"et commodo","freeformTags":{"eiusmod_d8":"incididunt "},"sessionExpiryDurationInMilliseconds":51785426}