Skip to main content
POST
Set custom DNS servers

Authorizations

Authorization
string
header
required

Send your API token as Authorization: Bearer <api-token>.

Query Parameters

teamID
string

Run the request in the context of a team you belong to, instead of your personal account. 24-character hexadecimal ID.

Pattern: ^[0-9a-fA-F]{24}$

Body

application/json
projectID
string
required

The app's ID.

dns
string[]

IPv4 or IPv6 addresses.

Maximum array length: 4

Response

The DNS servers were saved. The response body is empty.