NodeRingsDocs

Create Allocation

Create Allocation on the NodeRings client API (POST /v1/game-servers/{id}/allocations).

POST
/v1/game-servers/{id}/allocations
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

idstring

Response Body

application/json

curl -X POST "https://api.noderings.com/v1/game-servers/{id}/allocations" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d 'null'
{
  "id": 0,
  "ip": "string",
  "port": 0,
  "alias": "string",
  "notes": "string",
  "isDefault": true
}