Delete DNS Domain record

Deletes a DNS Domain record within a service.

DELETE
https://portal.onyx.io/api/v2/dns_domains/{dns_domain}/records/{record}

If successful, this endpoint will return a 200 OK status.

Arguments

The following arguments are supported for this endpoint.

Name Type Default Value

dns_domain Required

DNS Domain Lookup None

record Required

String None

Potential Errors

The following errors may occur during this request.

Details HTTP status

dns_domain_not_found

No DNS Domain was found matching any of the criteria provided in the arguments

404 Not Found

dns_service_error

There was an error with your request

500 Internal Server Error

invalid_record_id

The provided record id is invalid

400 Bad Request

Returned Object

When the request is successful, you can expect an object matching the specification below to be returned.

{
    record_deleted: Boolean
}