Deleting SRV Record

Description

Deletes a Service (SRV) record.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required Domain name for which you want to delete a SRV record
host String Required

A fully qualified Service name consisting of:

  • Service Record

  • Protocol

  • Domain Name

This is mentioned as _< service-name >._< protocol >.domain-name.com

Example:

_chat._tcp.domain-name.com.

value String Required The hostname of the machine providing the service
port Integer Required The port number of the service
weight Integer Required A relative weight for records with the same priority

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/dns/manage/delete-srv-record.json?auth-userid=0&api-key=key&domain-name=domain.com&host=_chat._tcp.domain-name.com&value=chat.domain.com&port=0000&weight=0

Response

Returns Success as the status of the response if the record is deleted successfully or record does not exist.

In case of any error, an error key with error description (as value) will be returned.