{
  "opencollection": "1.0.0",
  "info": {
    "name": "Linode API v4 Account Domains API",
    "version": "4.189.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Domains",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List domains",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linode.com/v4/domains",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to return."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of items per page."
              }
            ]
          },
          "docs": "Returns a paginated list of all domains on your account, including their status, type, and SOA email address."
        },
        {
          "info": {
            "name": "Create a domain",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linode.com/v4/domains",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new domain on your account. The domain can be a master or slave zone type."
        },
        {
          "info": {
            "name": "Get a domain",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linode.com/v4/domains/:domainId",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The ID of the domain."
              }
            ]
          },
          "docs": "Returns the details for a single domain on your account."
        },
        {
          "info": {
            "name": "Update a domain",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.linode.com/v4/domains/:domainId",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The ID of the domain."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration for a domain on your account."
        },
        {
          "info": {
            "name": "Delete a domain",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.linode.com/v4/domains/:domainId",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The ID of the domain."
              }
            ]
          },
          "docs": "Deletes a domain from your account. All associated DNS records will also be deleted."
        },
        {
          "info": {
            "name": "List domain records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.linode.com/v4/domains/:domainId/records",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The ID of the domain."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number to return."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of items per page."
              }
            ]
          },
          "docs": "Returns a paginated list of all DNS records for a given domain."
        },
        {
          "info": {
            "name": "Create a domain record",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.linode.com/v4/domains/:domainId/records",
            "params": [
              {
                "name": "domainId",
                "value": "",
                "type": "path",
                "description": "The ID of the domain."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new DNS record for the given domain."
        }
      ]
    }
  ],
  "bundled": true
}