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
Key | Datatype | Required | Description |
---|---|---|---|
opc-request-id | string | The client request ID for tracing. | |
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
{"credentialName":"\u003cstring\u003e","isAccessible":"\u003cboolean\u003e","status":"NOT_SET","type":"NAMED_CREDENTIAL"}