Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Returns a list of all DNS Servers configuration data.
Resource URL
http://{host}/api/2.0/dns_servers/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
GET dns_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single specific DNS Server configuration data.
Resource URL
http://{host}/api/2.0/dns_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired DNS Server configuration to be viewed. |
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Adds a new DNS Server configuration.
Resource URL
http://{host}/api/2.0/dns_servers/.format
Example Request
POST
Expand |
---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
PUT dns_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates a single specific DNS Server configuration.
Resource URL
http://{host}/api/2.0/dns_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired DNS Server configuration to be updated. |
Example Request
PUT
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |
---|---|
|
| |||||
|
DELETE dns_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific DNS Server configuration.
Resource URL
http://{host}/api/2.0/dns_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired DNS Server configuration to be deleted. |
Example Request
DELETE
Expand | |||||
---|---|---|---|---|---|
| |||||
|