Domains
patch/waap/v2/domains/{domain_id}

Request

  • Base URL
    https://api.gcore.com
  • URL
    https://api.gcore.com/waap/v2/domains/{domain_id}
  • Auth
    HTTP apikey

Path parameters

domain_idinteger required

The domain ID

Request body

status'active' | 'monitor' required

Domain statuses that can be used when updating a domain

Response

Successful Response

idinteger required

The domain ID

namestring required

The domain name

custom_page_setinteger nullable required

The ID of the custom page set

status'active' | 'bypass' | 'monitor' | 'locked' required

The different statuses a domain can have

created_atstring date-time required

The date and time the domain was created in ISO 8601 format

aliasesstring[]

CNAME aliases pointing at this domain's CDN resource

quotasobject nullable

Domain level quotas

Example response

{
  "quotas": {
    "firewall-rules": {
      "allowed": 5,
      "current": 2
    }
  }
}

Changes