api.dc.domain

/dc/(dc)/domain

api.dc.domain.views.dc_domain_list(*args, **kwargs)

List (GET) available DNS domains in current datacenter.

GET /dc/(dc)/domain
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • data.full (boolean) – Return list of objects with all DNS domain details (default: false)
  • data.order_by (string) – Available fields for sorting: name (default: name)
Status Codes:

/dc/(dc)/domain/(name)

api.dc.domain.views.dc_domain(*args, **kwargs)

Show (GET), create (POST) or delete (DELETE) a DNS domain (name) association with a datacenter (dc).

GET /dc/(dc)/domain/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - DNS domain name
Status Codes:
POST /dc/(dc)/domain/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - DNS domain name
Status Codes:
DELETE /dc/(dc)/domain/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - DNS domain name
Status Codes: