Update the details of preferred credential.

PUT {{baseUrl}}/managedDatabases/:managedDatabaseId/preferredCredentials/:credentialName

Updates the preferred credential based on the credentialName.

Request Body

{"type"=>"NAMED_CREDENTIAL"}

HEADERS

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

RESPONSES

status: OK

{"credentialName":"\u003cstring\u003e","isAccessible":"\u003cboolean\u003e","status":"NOT_SET","type":"NAMED_CREDENTIAL"}