Move the QueryEndpoint into a different compartment

post

/20180828/queryEndpoints/{queryEndpointId}/actions/changeCompartment

Moves the QueryEndpoint into a different compartment. When provided, If-Match is checked against the ETag value of the resource.

Request

Path Parameters
Header Parameters
  • For optimistic concurrency control. 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.
  • Unique identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
  • 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 may be rejected).
Body ()
The configuration details for the move operation.
Root Schema : ChangeQueryEndpointCompartmentDetails
Type: object
The configuration details for the move operation.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
Back to Top

Response

Supported Media Types

202 Response

The QueryEndpoint will be moved to the compartment. Use the work request to track progress.
Headers

401 Response

Unauthorized
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

404 Response

Not Found
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

409 Response

Conflict
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

412 Response

Precondition Failed
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

429 Response

Too Many Requests
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

500 Response

Internal Server Error
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source

Default Response

An error has occurred.
Headers
Body ()
Root Schema : Error
Type: object
Error information.
Show Source
Back to Top