Change the compartment of the DatabaseToolsConnection.
POST {{baseUrl}}/databaseToolsConnections/:databaseToolsConnectionId/actions/changeCompartment?isLockOverride=false
Moves the specified Database Tools connection to a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
isLockOverride | boolean | Whether to override locks (if any exist). |
Request Body
{"compartmentId"=>"<string>"}
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 |