Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions content/operate/rs/references/rest-api/requests/cluster/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ removed as soon as the new one is submitted.
|-------|------|-------------|
| action | string | The name of the action required. |

Supported cluster actions:

- `change_master`: Promotes a specified node to become the primary node of the cluster, which coordinates cluster-wide operations. Include the `node_uid` of the node you want to promote in the request body.

```sh
POST /v1/cluster/actions/change_master
{
"node_uid": "2"
}
```

### Response {#post-response}

The body content may provide additional action details. Currently, it is not used.
Expand Down