Moves a model into a different compartment

POST {{baseUrl}}/models/:modelId/actions/changeCompartment

Moves a model from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

Request Body

{"compartmentId"=>"incididun"}

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