Skip to content

site_dns_service

Overview

API to add, delete, get, modify DNS services at site level

Version information

Version : v2

URI scheme

Host :
BasePath : /sdwan/nitro/v2/config_editor/
Schemes : HTTP

Tags

  • site_dns_service : Operations related to site_dns_service

Paths

POST operation for site_dns_service

POST /site_dns_service

Description

Use this operation to add DNS service

Parameters

Type Name Schema
Body body
optional
site_dns_service_request_schema

Responses

HTTP Code Description Schema
200 Resource successfully added site_dns_service_post_success_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Consumes

  • application/json

Produces

  • application/json

Tags

  • site_dns_service

Get operation for site_dns_service

GET /site_dns_service

Description

Use this operation to get the DNS services configured

Responses

HTTP Code Description Schema
200 API Successfully executed site_dns_service_response_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Produces

  • application/json

Tags

  • site_dns_service

PUT operation for site_dns_service

PUT /site_dns_service

Description

Use this operation to modify DNS services

Responses

HTTP Code Description Schema
200 Resource modified added site_dns_service_put_success_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Produces

  • application/json

Tags

  • site_dns_service

DELETE operation for site_dns_service

DELETE /site_dns_service/{deletePathParam}

Description

Use this operation to delete DNS service

Parameters

Type Name Description Schema
Path deletePathParam
required
Object Primary Key for DELETE operation object

Responses

HTTP Code Description Schema
200 Resource delete added site_dns_service_delete_success_schema
400 Failed: bad input parameter ErrorSchema
401 Unauthorized: Failed Authentication ErrorSchema
403 Unauthorized: Forbidden ErrorSchema
405 Failed: Data format unacceptable ErrorSchema
415 Failed: Data format unacceptable ErrorSchema
500 Failed: Internal Server Error ErrorSchema

Produces

  • application/json

Tags

  • site_dns_service

Definitions

ErrorSchema

Name Schema
errorcode
optional
integer
errormessage
optional
string

dns_service_name

The name for the DNS service

Type : string

id

Auto-generated ID to uniquely identify the DNS service

Type : integer

package_name

Config package name using which the API operation should be performed.

Type : string

primary_dns_server_ip

The IP Address of the Primary DNS server

Type : string

secondary_dns_server_ip

The IP Address of the secondary DNS server

Type : string

site_dns_service

Name Schema
dns_service_name
optional
dns_service_name
id
optional
id
package_name
optional
package_name
primary_dns_server_ip
optional
primary_dns_server_ip
secondary_dns_server_ip
optional
secondary_dns_server_ip
site_name
optional
site_name

site_dns_service_delete_success_schema

Name Schema
site_dns_service
optional
site_dns_service

site_dns_service

Name Description Schema
message
optional
Example : "resource deleted succesfully" string

site_dns_service_post_success_schema

Name Schema
site_dns_service
optional
site_dns_service

site_dns_service

Name Description Schema
message
optional
Example : "resource added succesfully" string

site_dns_service_put_success_schema

Name Schema
site_dns_service
optional
site_dns_service

site_dns_service

Name Description Schema
message
optional
Example : "resource modified succesfully" string

site_dns_service_request_schema

Name Schema
site_dns_service
optional
site_dns_service

site_dns_service_response_schema

Type : < site_dns_service_response_schema > array

site_dns_service_response_schema

Name Schema
dns_service_name
optional
dns_service_name
id
optional
id
package_name
optional
package_name
primary_dns_server_ip
optional
primary_dns_server_ip
secondary_dns_server_ip
optional
secondary_dns_server_ip
site_name
optional
site_name

site_name

Site Name

Type : string

Was this article helpful?