Updates a Named Credential.
PUT {{baseUrl}}/namedCredentials/:namedCredentialId
Updates the named credential specified by namedCredentialId.
Request Body
{"associatedResource"=>"<string>", "content"=>{"credentialType"=>"BASIC"}, "description"=>"<string>", "freeformTags"=>{"officia_ec"=>"<string>"}, "scope"=>"RESOURCE"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
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. | |||
opc-request-id | string | The client request ID for tracing. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"name":"\u003cstring\u003e","id":"\u003cstring\u003e","compartmentId":"\u003cstring\u003e","lifecycleState":"DELETING","timeCreated":"\u003cdateTime\u003e","associatedResource":"\u003cstring\u003e","content":{"credentialType":"BASIC"},"definedTags":{"elit96":{"ea_a":{}},"ullamco_ba":{"pariatur4f":{},"in_f":{}}},"description":"\u003cstring\u003e","freeformTags":{"ipsumd7":"\u003cstring\u003e"},"lifecycleDetails":"\u003cstring\u003e","scope":"RESOURCE","timeUpdated":"\u003cdateTime\u003e","type":"ORACLE_DB"}