API reference
Delete instance
Delete a compute instance by ID
View MarkdownPOST/instances/{id}/delete
Delete a compute instance by ID
Parameters
id· path- Instance ID
Request body
application/json
object
Responses
200 · OK
| Field | Type | Description |
|---|---|---|
message | string |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
404 · Not Found
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
500 · Internal Server Error
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.