Moves a project into a different compartment
POST {{baseUrl}}/projects/:projectId/actions/changeCompartment
Moves a project from one compartment to another. When provided, If-Match is checked against ETag values of the resource.
Request Body
{"compartmentId"=>"ocid1.compartment.<New_Compartment>"}
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 |