Network Allocation
Lists all the allocations available to a server and whether they are currently assigned as the primary for this server
get
Path parameters
serverintegerRequired
The server ID
Responses
200Success
application/json
itemsanyOptional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
get/servers/{server}/network/allocations
GET /api/client/servers/{server}/network/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]Path parameters
serverintegerRequired
The server ID
Responses
200Success
application/json
itemsanyOptional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
post/servers/{server}/network/allocations
POST /api/client/servers/{server}/network/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]Path parameters
serverintegerRequired
The server ID
allocationintegerRequired
The allocation ID
Body
notesstring · max: 256 · nullableRequired
Responses
200Success
application/json
itemsanyOptional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
post/servers/{server}/network/allocations/{allocation}
POST /api/client/servers/{server}/network/allocations/{allocation} HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 14
{
"notes": null
}[]Path parameters
serverintegerRequired
The server ID
allocationintegerRequired
The allocation ID
Responses
204
No content
application/json
string[]Optional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
delete/servers/{server}/network/allocations/{allocation}
DELETE /api/client/servers/{server}/network/allocations/{allocation} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
"text"
]Path parameters
serverintegerRequired
The server ID
allocationintegerRequired
The allocation ID
Responses
200Success
application/json
itemsanyOptional
403
Authorization error
application/json
404
Not found
application/json
422
Validation error
application/json
post/servers/{server}/network/allocations/{allocation}/primary
POST /api/client/servers/{server}/network/allocations/{allocation}/primary HTTP/1.1
Host: reviactyl.test
Accept: */*
[]Last updated
Was this helpful?

