Deleting a DNS record¶
Warning
Deleted entries cannot be restored. To use an entry again after deletion, it must be created again.
Sends a DELETE request to the endpoint /domain/{domainId}/dns-records/{id}.
Description¶
The Delete-DNS-Record request allows the user to delete a DNS record from a domain of the organisation.
Requirements¶
Values of the request: Domain-ID {domainId}, DNS-Record-ID {id}ord-ID {id}
Objects: DnsRecordVO
Request¶
To delete a DNS record from a domain, the Domain-ID {domainId} and the DNS-Record-ID {id} need to be added to the path of the request.
No further information is required.
The system only returns a 200 HTTP code in response to the successful request.
Responses¶
The following responses are available:
| STATUS CODE | DESCRIPTION |
|---|---|
| 204 | The request has succeeded and the element was successfully deleted. |
| 400 | The request was unsuccessful. The request was invalid or information is missing. |
| 401 | The request has not succeeded because the user authentication was incorrect. |
| 403 | The request has not succeeded because the user does not have the right permissions. |