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

KeyDatatypeRequiredDescription
if-matchstringFor 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-idstringThe client request ID for tracing.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;compartmentId&quot;:&quot;\u003cstring\u003e&quot;,&quot;lifecycleState&quot;:&quot;DELETING&quot;,&quot;timeCreated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;associatedResource&quot;:&quot;\u003cstring\u003e&quot;,&quot;content&quot;:{&quot;credentialType&quot;:&quot;BASIC&quot;},&quot;definedTags&quot;:{&quot;elit96&quot;:{&quot;ea_a&quot;:{}},&quot;ullamco_ba&quot;:{&quot;pariatur4f&quot;:{},&quot;in_f&quot;:{}}},&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;freeformTags&quot;:{&quot;ipsumd7&quot;:&quot;\u003cstring\u003e&quot;},&quot;lifecycleDetails&quot;:&quot;\u003cstring\u003e&quot;,&quot;scope&quot;:&quot;RESOURCE&quot;,&quot;timeUpdated&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;type&quot;:&quot;ORACLE_DB&quot;}