Deleting TLSA Records 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.
See RFC 6698 for more information about TLSA records.
Understanding How The API Works »
REST Syntax
Click to view all REST Resources |
/REST/TLSARecord/ DELETE — Delete one or all existing TLSA Record on the zone/node indicated.
HTTP Action — DELETE
URIs:
Delete One TLSA Record — https://api.dynect.net/REST/TLSARecord/<zone>/<fqdn>/<recordID>/
Delete TLSA Records — https://api.dynect.net/REST/TLSARecord/<zone>/<fqdn>/ |
Arguments — No Arguments. |
Response — Not Applicable. |
SOAP Syntax
Click to view all SOAP Commands |
DeleteOneTLSARecord — Delete one TLSA Record on the zone/node indicated.
DeleteTLSARecord — Delete all TLSA Records on the zone/node indicated. |
Arguments —
DeleteOneTLSARecord — Click for More Info
- string
zone — Required. Name of zone where the record will be removed.
- string
fqdn — Required. Name of node where the record will be removed.
- string
record_id — Unique identifier of the record to remove.
- hash
rdata — RData defining the record to delete.
- string
cert_usage — Required. Specifies the provided association that will be used to match the certificate presented in the TLS handshake. Example values: 0 (CA constraint), 1 (Service certificate constraint), 2 (Trust anchor assertion ), 3 (Domain-issued certificate)
- string
selector — Required. Specifies which part of the TLS certificate presented by the server will be matched against the association data. Example values: 0 (Full certificate), 1 (SubjectPublicKeyInfo)
- string
match_type — Required. Specifies how the certificate association is presented. Example values: 0 (No hash used), 1 (SHA-256), 2 (SHA-512)
- string
certificate — Required. Full certificate or its SubjectPublicKeyInfo, or hash based on the matching type.
- string
ttl — TTL for the record in seconds. Set to “0” to use zone default.
- string
token — Required. The session identifier.
DeleteTLSARecord — Click for More Info
- string
zone — Required. Name of zone where the records will be removed.
- string
fqdn — Required. Name of node where the records will be removed.
- string
token — Required. The session identifier.
|
Response — Not Applicable. |
Example Request —
DeleteOneTLSARecord — Click for More Info
{
'zone' => 'example.com',
'fqdn' => 'www.example.com',
'record_id' => '43',
'rdata' => {
'cert_usage' => '0',
'selector' => '0',
'match_type' => '1',
'certificate' => 'k3ie9dowkd . . . ',
},
'token' => 'asdlkfjasl23j4879afa',
'ttl' => '3600',
}
DeleteTLSARecord — Click for More Info
{
'zone' => 'example.com',
'fqdn' => 'www.example.com',
'token' => 'asdlkfjasl23j4879afa',
}
|
<< DNS API Knowledge Base