PUT /api/domains/759776766 { "domain": { "domain_parameters_attributes": [ { "name": "foo", "value": "new_value" } ] } } 200 { "fullname": "example927.com", "created_at": "2019-11-07 08:53:46 UTC", "updated_at": "2019-11-07 08:53:46 UTC", "id": 759776766, "name": "example927.com", "dns_id": null, "dns": null, "subnets": [], "interfaces": [], "parameters": [ { "priority": 30, "created_at": "2019-11-07 08:53:46 UTC", "updated_at": "2019-11-07 08:53:46 UTC", "id": 767575241, "name": "foo", "parameter_type": "string", "value": "new_value" } ], "locations": [ { "id": 255093256, "name": "Location 1", "title": "Location 1", "description": null } ], "organizations": [ { "id": 447626438, "name": "Organization 1", "title": "Organization 1", "description": null } ] }
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
domain required |
Validations:
|
domain[name] optional |
The full DNS domain name Validations:
|
domain[fullname] optional , nil allowed |
Description of the domain Validations:
|
domain[dns_id] optional , nil allowed |
DNS proxy ID to use within this domain Validations:
|
domain[domain_parameters_attributes] optional , nil allowed |
Array of parameters (name, value) Validations:
|
domain[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
domain[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|