Pre-General Availability: 2022-08-18. This documentation is in pre-General Availability status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.

Moves a Project resource into a different compartment.

post

/20211130/projects/{projectId}/actions/changeCompartment

Request

Path Parameters
Header Parameters
  • 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.
  • The client request ID for tracing.
  • Minimum Length: 1
    Maximum Length: 64
    A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
Body ()
Details for the comparment change.
Root Schema : ChangeProjectCompartmentDetails
Type: object
Moves a Project resource into a different compartment.
Show Source
Back to Top

Response

Supported Media Types

202 Response

Accepted the request. The Project resource will be moved to another compartment.
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

412 Response

Precondition failed
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.

Default Response

Unknown Error
Headers
  • Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
Body ()
Root Schema : DefaultError
Type: object
Error Information.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    A short error code that defines the error, meant for programmatic parsing.
  • Minimum Length: 1
    Maximum Length: 1024
    A human-readable error string.
Back to Top