Skip to main content
POST
Set a server's primary IP address

Authorizations

Authorization
string
header
required

Your API key, sent as a bearer token. Create one in the control panel under API Keys, give it only the permissions the integration needs, and copy it when it is created. It cannot be shown again. Each key is restricted to one owned team. The key determines the team for every request.

Path Parameters

server
string
required

The server UUID

Example:

"ecc6f4f1"

addressId
integer
required

The address id ID.

Example:

58391

Response

The record, as a JSON object. There is no envelope.

message
string
required

What was decided, as a sentence.

Example:

"Primary IP updated successfully."

address
object

The address that was promoted. Left out when it was already the primary one.

Example: