Skip to main content

Rebuild instance

POST 

https://core-pl.ocplanet.cloud/backend/api/openstack/instances/:instance_id/rebuild

Host: https://core.ocplanet.cloud

Rebuild the specified instance. In this case, all current data on instance will be destroyed.

Request

Body

    image stringrequired
    ssh_keys stringrequired
    ssh_key stringrequired
    root_password stringrequired

Responses

Schema
    detail stringrequired

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: Use 'OpenAPIToken {token}' as the value
curl -L -X POST 'https://core-pl.ocplanet.cloud/backend/api/openstack/instances/:instance_id/rebuild' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"image": "string",
"ssh_keys": "string",
"ssh_key": "string",
"root_password": "string"
}'
Request Collapse all
Base URL
https://core-pl.ocplanet.cloud
Auth
Body
{
  "image": "string",
  "ssh_keys": "string",
  "ssh_key": "string",
  "root_password": "string"
}
ResponseClear

Click the Send API Request button above and see the response here!