Get your free beta license ↗
API operation · dns group
DELETE

/dns/nodes/{address}/joining

First published 12 Nov 20260.2.28Unchanged since publication

Cancel a pending node invitation

Who may call it
AdministratorResellerCustomer
Token scope, any of
dnsall
Answers200 OK

Call as an administrator with a token that has the dns scope. Canceling revokes the joining key and removes the pending registration for a new server. For an existing client, it removes only the invitation and preserves the client's zones and client key. The operation returns 409 if the node has already joined. A joined node must leave or be removed.

UrbeStack notifies the other nodes. A 200 response includes canceled set to true, the invited server's IPv4 address in address, client, and the notification results in told.

As a command

Run as root on the server

Parameters

addresspath ·stringRequired

Example

See the API overview for how to set $API and $TOKEN.
Request
curl -sS -X DELETE "$API/dns/nodes/info@example.com/joining" \
  -H "Authorization: Bearer $TOKEN"
Response · 200 OK
{
  "address": "info@example.com",
  "canceled": true,
  "client": {
    "address": "info@example.com",
    "also_nameservers": [
      "text"
    ],
    "created_at": "2026-09-09T10:15:00Z",
    "created_by": "text",
    "created_on": "text",
    "disconnected_at": "text",
    "hostname": "server.example.com",
    "ipv4": "text",
    "ipv6": "text",
    "joined_at": "text",
    "joining_as": "text",
    "label": "my laptop",
    "last_error": "text",
    "last_seen_at": "text",
    "nameserver": "text",
    "node": true,
    "port": 8443,
    "zones": 1
  },
  "told": [
    {
      "done": true,
      "error": "Domain 'example.com' already exists",
      "host": "text",
      "kind": "profile",
      "node": "text",
      "subject": "text"
    }
  ]
}

Errors

19 errors, each a status and a sentence
400--address is required
400<address> is this server's own address
400A node needs the nameserver name it will answer for
400Domain name required
400Domain name too long
400Invalid IPv4 address
400Invalid IPv6 address
400Invalid domain name
400Invalid label: 1 to 64 printable ASCII characters
400Invalid port
400Invalid setting key
401Authentication required
404Setting '<key>' not found
409<address> has already been added as a node but has not joined yet. To replace its key, open the pending node's details and choose Generate new key
409<address> is already a node of this network and answers for
409<c.address> joined the network already: it is a node, not one that waits
409<ns> is the only nameserver name this server answers for. The new node needs a name of its own
409A client already exists for <address> (label: <was.label>;
409No joining key waits for <c.address>
Generated from release 0.2.35 (current) · the API’s own descriptionThis entry has been unchanged since it was first published in release 0.2.28 on 12 Nov 2026.
urbestack.com/docs/api/delete-dns-nodes-address-joining/