cloadyDocs
API ReferenceEndpointsWorkspaces

Set a child nameserver

Registers, or replaces the addresses of, a nameserver under a domain registered through Cloady, like ns1.example.com, so the domain can use its own nameservers. `name` is the label, like ns1. Needs the developer role.

PUT
/api/workspaces/{workspaceSlug}/domains/{domain}/glue/{name}
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
domain*string
name*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/api/workspaces/string/domains/string/glue/string" \  -H "Content-Type: application/json" \  -d '{    "ips": [      "192.168.0.1"    ]  }'
{  "glue": [    {      "host": "string",      "ips": [        "string"      ]    }  ]}