DetachInstancePoolInstance

post

/20160918/instancePools/{instance_pool_id}/actions/detachInstance

Detach an instance from an instance pool.

Request

Supported Media Types
Path Parameters
Header Parameters
  • 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 instance is being detached from the pool.
Root Schema : DetachInstancePoolInstanceDetails
Type: object
An instance that is to be detached from an instance pool.
Show Source
  • Minimum Length: 1
    Maximum Length: 255
    The OCID of the instance.
  • Default Value: false
    Whether to permanently terminate (delete) the instance and its attached boot volume when detaching it from the instance pool. Default is false.
  • Default Value: true
    Whether to decrease the size of the instance pool when the instance is detached. If true, the pool size is decreased. If false, the pool will provision a new, replacement instance using the pool's instance configuration as a template. Default is true.
Back to Top

Response

Supported Media Types

202 Response

The instance is being detached from the instance pool.
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
  • The OCID of the work request. Use GetWorkRequest with this OCID to track the status of the request.

400 Response

Bad Request
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

401 Response

Unauthorized
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

404 Response

Not Found
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

409 Response

Conflict
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

429 Response

Too Many Requests
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

500 Response

Internal Server Error
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source

Default Response

An error has occurred.
Headers
  • Unique Oracle-assigned identifier for the request. Provide this request OCID if you need to contact Oracle about this request.
Body ()
Root Schema : Error
Type: object
The properties that define an error.
Show Source
Back to Top