Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

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
get/servers/{server}/network/allocations
GET /api/client/servers/{server}/network/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Set the notes for the allocation for a server. s

post
Path parameters
serverintegerRequired

The server ID

Responses
200Success
application/json
itemsanyOptional
post/servers/{server}/network/allocations
POST /api/client/servers/{server}/network/allocations HTTP/1.1
Host: reviactyl.test
Accept: */*
[]

Set the primary allocation for a server

post
Path parameters
serverintegerRequired

The server ID

allocationintegerRequired

The allocation ID

Body
notesstring · max: 256 · nullableRequired
Responses
200Success
application/json
itemsanyOptional
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
}
[]

Delete an allocation from a server

delete
Path parameters
serverintegerRequired

The server ID

allocationintegerRequired

The allocation ID

Responses
204

No content

application/json
string[]Optional
delete/servers/{server}/network/allocations/{allocation}
DELETE /api/client/servers/{server}/network/allocations/{allocation} HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Set the primary allocation for a server

post
Path parameters
serverintegerRequired

The server ID

allocationintegerRequired

The allocation ID

Responses
200Success
application/json
itemsanyOptional
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?