Domain

Get domain names for a website

get/v1/hosting/websites/{website_id}/domain-name

Request

Path parameters

website_idinteger required

Headers

x-api-keystring required

API key for authentication

Response

List of domain names

Example response

{
  "data": [
    {
      "admin_url": "https://regular-herring.10web.club/wp-admin",
      "created_at": "2024-09-23 07:08:47",
      "default": 1,
      "website_id": 15354,
      "id": 16194,
      "name": "regular-herring.10web.club",
      "scheme": "https",
      "site_url": "https://regular-herring.10web.club",
      "updated_at": "2024-09-23 07:08:47"
    },
    {
      "admin_url": "https://testdomain.com/wp-admin/",
      "created_at": "2024-10-10 11:17:04",
      "default": 0,
      "website_id": 15354,
      "id": 16461,
      "name": "testdomain.com",
      "scheme": "http",
      "site_url": "https://testdomain.com",
      "updated_at": "2024-10-10 11:17:04"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.