> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# CANCEL DECOMMISSION

> CANCEL DECOMMISSION is used to undo a node decommission.

CANCEL DECOMMISSION is used to undo a node decommission.

**Tip**

Only the `cluster_admin` role has the privilege to perform this operation. You can follow the instructions in [GRANT](/documents/4.2/sql-reference/sql-statements/account-management/GRANT.md) to grant this privilege.

Syntax:

```sql theme={null}
CANCEL DECOMMISSION BACKEND "<host>:<heartbeat_port>"[,"<host>:<heartbeat_port>"...]
```

## Examples

1. Cancel decommission of two nodes.

   ```sql theme={null}
   CANCEL DECOMMISSION BACKEND "host1:port", "host2:port";
   ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.