Deleting a Traffic Director node using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.
Understanding How The API Works »
REST Syntax
Click to view all REST Resources |
/REST/DSFNode/ DELETE — Detach the given node from the Traffic Director (DSF) service, so that its records are no longer served from that node.
HTTP Action — DELETE
URI — https://api.dynect.net/REST/DSFNode/<service_id>/ |
Arguments — Click for More Info
- hash
node — Required.
- string
zone — Required. Name of the zone.
- string
fqdn – Required. Fully qualified domain name of a node in the zone.
- string
publish — Indicates whether or not the change will be published immediately.
Valid values:
Y – Change will be published immediately.
N – Change will be published when the service is published next.
string notes — A custom note field. All content in the string is added to the Zone Notes for the zones attached to this service when the zone is published. Only used when publish = Y
|
Response — Click for More Info
A list of the service’s current nodes.
- string
zone — Name of the zone
- string
fqdn — Fully qualified domain name of the node in the zone.
|
SOAP Syntax
Click to view all SOAP Commands |
DeleteOneDSFNode — Detach the given node from the Traffic Director (DSF) service, so that its records are no longer served from that node. |
Arguments — Click for More Info
- string
service_id — Required. Identifier for the Traffic Director (DSF) service.
- hash
node — Required.
- string
zone — Required. Name of the zone.
- string
fqdn — Required. Fully qualified domain name of a node in the zone.
- string
publish — Indicates whether or not the change will be published immediately.
Valid values:
Y – Change will be published immediately.
N – Change will be published the next time the service is published.
- string
notes — A custom note field. All content in the string is added to the Zone Notes for the zones attached to this service when the zone is published. Only used when publish = Y
- string
token — Required The session identifier.
|
Response — Click for More Info
- array
data – All the services current nodes.
- string
zone — Name of the zone.
- string
fqdn — Fully qualified domain name of a node in the zone.
|
Example Request — Click for More Info
{
'service_id' => 'Traffic_Director_1',
'node' => {
'zone' => zone.com,
'fqdn' => zone1.zone.com,
},
'publish'=> 'Y'
'token' => 'asdlj34ot879834cdzjklfK'
}
|
<< DNS API Knowledge Base