# Name.com Integration via LowCodeAPI

## Overview

Domain registration

## Base Endpoint

```
https://api.lowcodeapi.com/name/
```

## Authentication

LowCodeAPI handles authentication automatically. You only need to:

1. **Sign up** at [Name.com](https://www.name.com)
2. **Get your credentials** from [credential page](https://www.name.com/account/settings/api)
3. **Connect your account** in LowCodeAPI dashboard
4. **Use your `api_token`** in all requests

**Auth Type**: TOKEN

## API Categories

- **DNS** - 5 endpoints
- **DNSSEC ** - 4 endpoints
- **Domain** - 18 endpoints
- **EmailForwarding ** - 5 endpoints
- **Hello** - 1 endpoints
- **Order** - 2 endpoints
- **Transfer** - 4 endpoints
- **URLForwarding** - 5 endpoints
- **VanityNameserver** - 5 endpoints

## Common Endpoints

### Category: DNS

#### List all the domain records

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/records`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/records?page={page}&perPage={perPage}&api_token={api_token}
```

**Description**: List all the records of a domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the zone to list the records for; |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`page` | number | No | Get specific page |
|`perPage` | number | No | Number of items per page |

---

#### Get Individual record details

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/records/id`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/records/id?api_token={api_token}
```

**Description**: Get details if an individual record

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the zone the record exists in |
|`id` | number | No | ID is the server-assigned unique identifier for this record |

---

#### Creates new record of the domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname/records`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/records?api_token={api_token}
```

**Description**: creates a new record of the domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the zone that the record belongs to |

**Request Body**:
```json
{
  "type": "<string>",
  "answer": "<string>"
}
```

---

#### Replace old record with new

**Method**: `PUT` | **LowCodeAPI Path**: `/v4/domains/domainname/records/id`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/records/id?api_token={api_token}
```

**Description**: replaces the record of the with the new record that is passed

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`id` | number | No | Unique record id. Value is ignored on Create; and must match the URI on Update |
|`domainName` | string | No | DomainName is the zone that the record belongs to |

**Request Body**:
```json
{
  "type": "<string>",
  "answer": "<string>"
}
```

---

#### Delete domain record from zone

**Method**: `DELETE` | **LowCodeAPI Path**: `/v4/domains/domainname/records/id`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/records/id?api_token={api_token}
```

**Description**: deletes a record of the domain from the zone.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the zone that the record to be deleted exists in |
|`id` | number | No | ID is the server-assigned unique identifier for the Record to be deleted |

---

### Category: DNSSEC 

#### DNSSEC keys listed by registry

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/dnssec`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/dnssec?api_token={api_token}
```

**Description**: lists all of the DNSSEC keys registered with the registry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name to list keys for |

---

#### Retrieve registered key details from registry

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/dnssec/digest`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/dnssec/digest?api_token={api_token}
```

**Description**: get the details for a key registered with the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name |
|`digest` | string | No | Digest is the digest for the DNSKEY RR to retrieve |

---

#### DNSSEC key registration with registry

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/dnssec`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/dnssec?api_token={api_token}
```

**Description**: registers a DNSSEC key with the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name; |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### DNSSEC key removal from registry

**Method**: `DELETE` | **LowCodeAPI Path**: `/v4/domains/dnssec/digest`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/dnssec/digest?api_token={api_token}
```

**Description**: removes a DNSSEC key from the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name the key is registered for |
|`digest` | string | No | Digest is the digest for the DNSKEY RR to remove from the registry |

---

### Category: Domain

#### Buy a new domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains?api_token={api_token}
```

**Description**: Buy a new domain

**Request Body**:
```json
{
  "domain": "<object>",
  "purchasePrice": "<number>"
}
```

---

#### Domain availability check for purchase

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains-checkavailability`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains-checkavailability?api_token={api_token}
```

**Description**: Check if domain is available for purchase

**Request Body**:
```json
{
  "domainNames": "<array>"
}
```

---

#### Search domain name

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains-search`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains-search?api_token={api_token}
```

**Description**: Search domain name

**Request Body**:
```json
{
  "keyword": "<string>"
}
```

---

#### Get price of the domain

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname-getpricing`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-getpricing?years={years}&api_token={api_token}
```

**Description**: Get price of the domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | Domain name |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`years` | number | No | Years |

---

#### User-owned domain list API

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains?page={page}&perPage={perPage}&api_token={api_token}
```

**Description**: List all the domain own by the user

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`page` | number | No | Get specific page |
|`perPage` | number | No | Number of items per page |

---

#### Get details about a specific domain

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname?api_token={api_token}
```

**Description**: Get details about a specific domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | Domain name |

---

#### Enables the domain to be private

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-enablewhoisprivacy`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-enablewhoisprivacy?api_token={api_token}
```

**Description**: Enables the domain to be private

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | DomainName is the domain name to enable whoisprivacy for |

---

#### Disables domain privacy

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-disablewhoisprivacy`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-disablewhoisprivacy?api_token={api_token}
```

**Description**: Disables domain privacy

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | DomainName is the domain name to disable whoisprivacy for. |

---

#### Automated domain renewal enabled

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-enableautorenew`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-enableautorenew?api_token={api_token}
```

**Description**: Enables the domain to be automatically renewed

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | DomainName is the domain name to enable autorenew for |

---

#### Disables automatic renewals

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-disableautorenew`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-disableautorenew?api_token={api_token}
```

**Description**: Disables automatic renewals

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | domain name to disable autorenew for |

---

#### Renew a domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-renew`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-renew?api_token={api_token}
```

**Description**: Renew a domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | Yes | domain to renew |

**Request Body**:
```json
{
  "purchasePrice": "<float>"
}
```

---

#### Domain Transfer Authorization Code Retrieval

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname-getauthcode`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-getauthcode?api_token={api_token}
```

**Description**: Returns the Transfer Authorization Code for the domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name to retrieve the authorization code for |

---

#### Add Privacy protection to a domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-purchaseprivacy`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-purchaseprivacy?api_token={api_token}
```

**Description**: Add Privacy protection to a domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | domain to purchase Whois Privacy for |

**Request Body**:
```json
{
  "purchasePrice": "<float>"
}
```

---

#### Set the nameservers for the Domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-setnameservers`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-setnameservers?api_token={api_token}
```

**Description**: Set the nameservers for the Domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | domain name to set the nameservers |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Set the contacts for the Domain

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname-setcontacts`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname-setcontacts?api_token={api_token}
```

**Description**: Set the contacts for the Domain

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain name to set the contacts for |

**Request Body**:
```json
{
  "contacts": "<string>"
}
```

---

*Note: Showing 15 of 18 endpoints in this category.*

---

### Category: EmailForwarding 

#### List paginated email forwarding entries

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/email/forwarding`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/email/forwarding?api_token={api_token}
```

**Description**: ListEmailForwardings returns a paginated list of email forwarding entries for a domain.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to list email forwarded boxes for |
|`perPage` | number | No | Per Page is the number of records to return per request.defaults to 1000 |
|`page` | number | No | Page is which page to return |

---

#### Email forwarding entry returned by GetEmailForwarding

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/email/forwarding/emailbox`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/email/forwarding/emailbox?api_token={api_token}
```

**Description**: GetEmailForwarding returns an email forwarding entry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to list email forwarded box for |
|`emailBox` | string | No | EmailBox is which email box to retrieve |

---

#### Creates an email forwarding entry

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname/email/forwarding`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/email/forwarding?api_token={api_token}
```

**Description**: CreateEmailForwarding creates an email forwarding entry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain part of the email address to forward |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### UpdateEmailForwarding changes forwarded email address

**Method**: `PUT` | **LowCodeAPI Path**: `/v4/domains/domainname/email/forwarding/emailbox`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/email/forwarding/emailbox?emailTo={emailTo}&api_token={api_token}
```

**Description**: UpdateEmailForwarding updates which email address the email is being forwarded to.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain part of the email address to forward |
|`emailBox` | string | No | EmailBox is the user portion of the email address to forward. |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`emailTo` | string | No | EmailTo is the entire email address to forward email to |

---

#### Deletes email forwarding entry

**Method**: `DELETE` | **LowCodeAPI Path**: `/v4/domains/domainname/email/forwarding/emailbox`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/email/forwarding/emailbox?api_token={api_token}
```

**Description**: DeleteEmailForwarding deletes the email forwarding entry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to delete the email forwarded box from |
|`emailBox` | string | No | EmailBox is which email box to delete |

---

### Category: Hello

#### Returns some information about the API server

**Method**: `GET` | **LowCodeAPI Path**: `/v4/hello`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/hello?api_token={api_token}
```

**Description**: HelloFunc returns some information about the API server.

---

### Category: Order

#### Retrieve account's orders with ListOrders

**Method**: `GET` | **LowCodeAPI Path**: `/v4/orders`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/orders?perPage={perPage}&page={page}&api_token={api_token}
```

**Description**: ListOrders returns all orders in the account.

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`perPage` | number | No | Per Page is the number of records to return per request defaults to 1000 |
|`page` | number | No | Page is which page to return |

---

#### Order details retrieval using GetOrder

**Method**: `GET` | **LowCodeAPI Path**: `/v4/ordersorderid`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/ordersorderid?api_token={api_token}
```

**Description**: GetOrder returns details about a specific order

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`orderId` | number | No | OrderId is the unique identifier of the requested order; |

---

### Category: Transfer

#### Pending transfer requests listed by ListTransfers

**Method**: `GET` | **LowCodeAPI Path**: `/v4/transfers`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/transfers?perPage={perPage}&page={page}&api_token={api_token}
```

**Description**: ListTransfers lists all pending transfer in requests

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`perPage` | number | No | Per Page is the number of records to return per request defaults to 1000 |
|`page` | number | No | Page is which page to return |

---

#### GetTransfer gets details for a transfer request

**Method**: `GET` | **LowCodeAPI Path**: `/v4/transfers/domainname`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/transfers/domainname?api_token={api_token}
```

**Description**: GetTransfer gets details for a transfer request.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain you want to get the transfer information for |

---

#### Purchases a new domain transfer request

**Method**: `POST` | **LowCodeAPI Path**: `/v4/transfers`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/transfers?api_token={api_token}
```

**Description**: CreateTransfer purchases a new domain transfer request

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Refunds and cancels pending transfer

**Method**: `POST` | **LowCodeAPI Path**: `/v4/transfers/domainname-cancel`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/transfers/domainname-cancel?api_token={api_token}
```

**Description**: CancelTransfer cancels a pending transfer request and refunds the amount to account credit

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to cancel the transfer for. |

---

### Category: URLForwarding

#### Paginated URL forwarding entries for domain

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/url/forwarding`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/url/forwarding?perPage={perPage}&page={page}&api_token={api_token}
```

**Description**: ListURLForwardings returns a pagenated list of URL forwarding entries for a domain.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to list URL forwarding entries for |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`perPage` | number | No | Per Page is the number of records to return per request defaults to 1000 |
|`page` | number | No | Page is which page to return |

---

#### Returns an URL forwarding entry

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/url/forwarding/host`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/url/forwarding/host?api_token={api_token}
```

**Description**: GetURLForwarding returns an URL forwarding entry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to list URL forwarding entry for |
|`host` | string | No | Host is the part of the domain name before the domain |

---

#### Create URL Forwarding Entry

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname/url/forwarding`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/url/forwarding?api_token={api_token}
```

**Description**: CreateURLForwarding creates an URL forwarding entry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain part of the hostname to forward; |

**Request Body**:
```json
{
  "host": "<string>",
  "forwardsTo": "<string>"
}
```

---

#### Update URL Forwarding for Host

**Method**: `PUT` | **LowCodeAPI Path**: `/v4/domains/domainname/url/forwarding/host`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/url/forwarding/host?api_token={api_token}
```

**Description**: UpdateURLForwarding updates which URL the host is being forwarded to.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No |  |
|`host` | string | No | Host is the entirety of the hostname |

**Request Body**:
```json
{
  "forwardsTo": "<string>"
}
```

---

#### Deletes the URL forwarding entry

**Method**: `DELETE` | **LowCodeAPI Path**: `/v4/domains/domainname/url/forwarding/host`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/url/forwarding/host?api_token={api_token}
```

**Description**: DeleteURLForwarding deletes the URL forwarding entry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to delete the URL forwardind entry from |
|`host` | string | No | Host is the part of the domain name before the domain |

---

### Category: VanityNameserver

#### List registered nameservers with the registry

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/vanity_nameservers`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/vanity_nameservers?perPage={perPage}&page={page}&api_token={api_token}
```

**Description**: ListVanityNameservers lists all nameservers registered with the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to list the vanity nameservers for |

**Query Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`perPage` | number | No | Per Page is the number of records to return per request defaults to 1000 |
|`page` | number | No | Page is which page to return. |

---

#### Retrieve details of registered vanity nameserver

**Method**: `GET` | **LowCodeAPI Path**: `/v4/domains/domainname/vanity_nameservers/hostname`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/vanity_nameservers/hostname?api_token={api_token}
```

**Description**: GetVanityNameserver gets the details for a vanity nameserver registered with the registry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain to for the vanity nameserver |
|`hostname` | string | No | Hostname is the hostname for the vanity nameserver |

---

#### Register nameserver with the registry

**Method**: `POST` | **LowCodeAPI Path**: `/v4/domains/domainname/vanity_nameservers`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/vanity_nameservers?api_token={api_token}
```

**Description**: CreateVanityNameserver registers a nameserver with the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain the nameserver is a subdomain of; |

**Request Body**:
```json
{
  "hostname": "<string>"
}
```

---

#### Update glue record IP addresses at the registry

**Method**: `PUT` | **LowCodeAPI Path**: `/v4/domains/domainname/vanity_nameservers/hostname`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/vanity_nameservers/hostname?api_token={api_token}
```

**Description**: UpdateVanityNameserver allows you to update the glue record IP addresses at the registry

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No | DomainName is the domain the nameserver is a subdomain of |
|`hostname` | string | Yes | Hostname is the hostname of the nameserver. |

**Request Body**:
```json
{
  "key": "value"
}
```

---

#### Unregister nameserver from registry

**Method**: `DELETE` | **LowCodeAPI Path**: `/v4/domains/domainname/vanity_nameservers/hostname`

**Full URL**:
```
https://api.lowcodeapi.com/name/v4/domains/domainname/vanity_nameservers/hostname?api_token={api_token}
```

**Description**: DeleteVanityNameserver unregisteres the nameserver at the registry.

**Path Parameters**:

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
|`domainName` | string | No |  |
|`hostname` | string | No | Hostname is the hostname of the vanity nameserver to delete |

---

## Complete Endpoint Reference

For a complete list of all 49 endpoints, refer to:
- **OpenAPI Definition**: `https://backend.lowcodeapi.com/name/definition`
- **Official Provider Documentation**: https://www.name.com/api-docs