Traffic Sources DNS Devices

Get All DNS Devices

get

Returns a list of all DNS devices.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Responses
200

List of Requested DNS Devices

application/json
get
/api/v1/dns-devices

Add DNS Device

post

Adds a new DNS device.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringRequired

Name of the DNS device.

typestringRequired

Type of the DNS device.

sitestringRequired

Site location of the DNS device.

enabledbooleanRequired

Whether the DNS device is enabled.

Responses
post
/api/v1/dns-devices

Get DNS Device By ID

get

Fetches a specific DNS device by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the DNS device to fetch.

Responses
200

Requested DNS Device

application/json
get
/api/v1/dns-devices/{id}

Update DNS Device By ID

put

Updates a DNS device by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the DNS device to update.

Body
namestringRequired

Name of the DNS device.

typestringRequired

Type of the DNS device.

sitestringRequired

Site location of the DNS device.

enabledbooleanRequired

Whether the DNS device is enabled.

Responses
200

Requested DNS Device

application/json
put
/api/v1/dns-devices/{id}

Delete DNS Device By ID

delete

Deletes a DNS device by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the DNS device to delete.

Responses
delete
/api/v1/dns-devices/{id}

No content

Bulk Delete DNS Devices

put

Deletes multiple DNS devices in bulk.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Bodystring[]
string[]Optional
Responses
put
/api/v1/dns-devices/bulkdelete

No content

Enable DNS Device By ID

put

Enables a DNS device by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the DNS device to enable.

Responses
200

Requested DNS Device

application/json
put
/api/v1/dns-devices/{id}/enable

Disable DNS Device By ID

put

Disables a DNS device by ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

The ID of the DNS device to disable.

Responses
200

Requested DNS Device

application/json
put
/api/v1/dns-devices/{id}/disable

Last updated