Skip to main content
POST
Python

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

instance_id
string<uuid4>
required

Instance ID

Body

application/json
servergroup_id
string
required

Anti-affinity or affinity or soft-anti-affinity server group ID.

Example:

"47003067-550a-6f17-93b6-81ee16ba061e"

Response

200 - application/json

OK

tasks
string[]
required

List of task IDs representing asynchronous operations. Use these IDs to monitor operation progress:

  • GET /v1/tasks/{task_id} - Check individual task status and details Poll task status until completion (FINISHED/ERROR) before proceeding with dependent operations.
Example: