Was this helpful?
Delete an allocation from a node
DELETE /api/nodes/{nodeId}/allocations/{allocationId} HTTP/1.1 Host: localhost:3000 Authorization: Bearer JWT Accept: */*
Allocation deleted successfully
No content
Create a new allocation for a node
Node ID
POST /api/nodes/{id}/allocations HTTP/1.1 Host: localhost:3000 Authorization: Bearer JWT Content-Type: application/json Accept: */* Content-Length: 61 { "bindAddress": "text", "port": 1, "alias": "text", "notes": "text" }
Allocation created successfully
{ "id": "123e4567-e89b-12d3-a456-426614174000", "nodeId": "123e4567-e89b-12d3-a456-426614174000", "bindAddress": "text", "port": 1, "alias": "text", "notes": "text", "assigned": true, "serverId": "123e4567-e89b-12d3-a456-426614174000", "createdAt": "2025-05-20T02:43:26.277Z", "updatedAt": "2025-05-20T02:43:26.277Z" }