Put instance into the server group
Instances
Put instance into the server group
Add an instance to a server group. The instance must not already be in a server group. Bare metal servers do not support server groups.
POST
Put instance into the server group
Authorizations
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
Region ID
Instance ID
Body
application/json
InstancePutServerGroup schema
Anti-affinity or affinity or soft-anti-affinity server group ID.
Response
200 - application/json
List of created tasks
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:
["d478ae29-dedc-4869-82f0-96104425f565"]