Headscale unofficial
DELETE/api/v1/node/{nodeId}

Delete a node

Deletes a node identified by its ID. Supply nodeId as an unsigned 64-bit integer value to identify the node to remove.

1 parameter
nodeIdstringrequired
The node identifier, formatted as an unsigned 64-bit integer.

2 status codes
200Returns an empty object after the node is deleted.
defaultError
detailstringoptional
A human-readable explanation specific to this occurrence of the problem.
errorsarray<object>optional
Optional list of individual error details
instancestringoptional
A URI reference that identifies the specific occurrence of the problem.
statusintegeroptional
HTTP status code
titlestringoptional
A short, human-readable summary of the problem type. This value should not change between occurrences of the error.
typestringoptional
A URI reference to human-readable documentation for the error.
Default:about:blank

Error handling

The nodeId path parameter must be a string in unsigned 64-bit integer format and identify the node to delete.