edjx domain records delete

Delete a record from a specific domain.

You must know the record ID to execute this command.
edjx domain record delete <record-id> [flag]

Argument

record-id                           Record identifier to be deleted

Flag

-d, --domain <domain-id>            Optional. Domain ID (default 00000000-0000-0000-0000-000000000000)

Example

To delete a specific domain:

  1. Make sure you are in the domain view.

    root@edjx:~ # edjx config domain -i
  2. View the records within that domain.

    root@edjx:~ # edjx domain records list
  3. Copy the Record ID of the record you want to delete.

    root@edjx:~ # edjx domain record delete c998c824-4269-4cd7-965d-e1c1d1e6a000
    DNS Record Deleted successfully