cURL
curl --request POST \ --url https://dashboard.gratian.pro/api/client/servers/{server}/network/allocations/{allocation}/primary \ --header 'Authorization: Bearer <token>'
[ "<any>" ]
Set the primary allocation for a server.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The server UUID
The allocation ID
The response is of type any[].
any[]