Modifies the specified ODMS Agent
PUT {{baseUrl}}/agents/:agentId
Modifies the ODMS Agent represented by the given ODMS Agent ID.
Request Body
{"displayName"=>"<string>", "freeformTags"=>{"esse_8"=>"<string>", "elit2"=>"<string>", "magna_cb3"=>"<string>"}, "publicKey"=>"<string>", "streamId"=>"<string>", "version"=>"<string>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a | |
particular request, please provide the request ID. | |||
opc-retry-token | string | A token that uniquely identifies a request so it can be retried in case of a timeout or | |
server error without risk of executing that same action again. Retry tokens expire after 24 | |||
hours, but can be invalidated before then due to conflicting operations. For example, if a resource | |||
has been deleted and purged from the system, then a retry of the original creation request | |||
might be rejected. | |||
if-match | string | For optimistic concurrency control. In the PUT or DELETE call | |
for a resource, set the if-match parameter to the value of the | |||
etag from a previous GET or POST response for that resource. | |||
The resource will be updated or deleted only if the etag you | |||
provide matches the resource's current etag value. | |||
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"\u003cstring\u003e","displayName":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","streamId":"\u003cstring\u003e","version":"\u003cstring\u003e","timeCreated":"\u003cdateTime\u003e","timeUpdated":"\u003cdateTime\u003e","lifecycleState":"DELETED","definedTags":{"dolore_756":{"magna_2f":{},"Lorem_da":{}},"nostruda4":{"do_0":{},"sunt097":{},"do_8_":{},"officia_9":{},"dolore_fb5":{}},"dolor0":{"id1_b":{}},"culpa_cb":{"Duis_3":{}}},"freeformTags":{"commodo4":"\u003cstring\u003e","sunt_2":"\u003cstring\u003e"},"lifecycleDetails":"\u003cstring\u003e","publicKey":"\u003cstring\u003e","systemTags":{"officia_c7":{"aute_e":{},"consequat78":{},"ametd8":{}},"consequat88f":{"incididunt_0":{}},"Excepteurd9":{"ind":{}}}}