Change the compartment of the DatabaseToolsPrivateEndpoint.

POST {{baseUrl}}/databaseToolsPrivateEndpoints/:databaseToolsPrivateEndpointId/actions/changeCompartment?isLockOverride=false

Moves a Database Tools private endpoint into a different compartment in the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.

Request Params

KeyDatatypeRequiredDescription
isLockOverridebooleanWhether to override locks (if any exist).

Request Body

{"compartmentId"=>"<string>"}

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