Create placement group
Placement Groups
Create placement group
Create an affinity or anti-affinity or soft-anti-affinity placement group
POST
Create placement 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
Body
application/json
Response
200 - application/json
Returned placement group
The list of instances in this server group.
Example:
The name of the server group.
Example:
"my-server-group"
The server group policy. Options are: anti-affinity, affinity, or soft-anti-affinity.
Example:
"anti-affinity"
Project ID
Example:
1337
Region name
Example:
"Luxembourg 1"
Region ID
Example:
7
The ID of the server group.
Example:
"47003067-550a-6f17-93b6-81ee16ba061e"