Configuration

Set custom DNS servers

Changed on

Sets up to 4 DNS servers for the app to use. Send an empty list to go back to the defaults. Your bundle plan must support custom DNS. Team permission: operate or manage.

post/v1/projects/update-dns

Request

  • Base URL
    https://api.liara.ir
  • URL
    https://api.liara.ir/v1/projects/update-dns
  • Auth
    HTTP bearer

Query parameters

teamIDstring

24-character hexadecimal ID.

Run the request in the context of a team you belong to, instead of your personal account.

Request body

projectIDstring required

The app's ID.

dnsstring[]

IPv4 or IPv6 addresses.

Response

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

Changes