Update Channel
PUT {{baseUrl}}/odaInstances/:odaInstanceId/channels/:channelId
Updates the specified Channel with the information in the request body.
Request Body
{"type"=>"APPLICATION", "description"=>"nisi consequat fugiat", "freeformTags"=>{"cupidatat_51_"=>"commodo reprehenderit "}, "sessionExpiryDurationInMilliseconds"=>21465677}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
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. | |||
opc-request-id | string | The client request ID for tracing. This value is included in the opc-request-id response header. | |
Content-Type | string | ||
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}