curl -X DELETE "https://your-paneldns-domain.com/api/v1/sub-clients/201" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
Sub-clients
Delete Sub-client
Permanently delete a sub-client. Requires sub_clients:write scope.
DELETE
/
api
/
v1
/
sub-clients
/
{id}
curl -X DELETE "https://your-paneldns-domain.com/api/v1/sub-clients/201" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true
}
{
"ok": false,
"error": "Not found.",
"code": 404
}
Deletes the sub-client account. Any zones assigned to the sub-client are unassigned (moved to org-level,
sub_client_id set to null) — they are not deleted. Portal sessions for this sub-client are invalidated immediately.
This action is irreversible. The sub-client’s login credentials and all associated API tokens are permanently removed.
integer
required
Sub-client ID.
curl -X DELETE "https://your-paneldns-domain.com/api/v1/sub-clients/201" \
-H "Authorization: Bearer YOUR_TOKEN"
{
"ok": true
}
{
"ok": false,
"error": "Not found.",
"code": 404
}