2022-10-14 11:25:33 -04:00
---
layout: default
title: Nodes reload secure settings
parent: Nodes APIs
nav_order: 50
---
# Nodes reload secure settings
The nodes reload secure settings endpoint allows you to change secure settings on a node and reload the secure settings without restarting the node.
## Path and HTTP methods
```
POST _nodes/reload_secure_settings
POST _nodes/< nodeId > /reload_secure_settings
```
## Path parameter
You can include the following optional path parameter in your request.
Parameter | Type | Description
:--- | :--- | :---
2022-10-27 12:50:39 -04:00
nodeId | String | A comma-separated list of nodeIds used to filter results. Supports [node filters ]({{site.url}}{{site.baseurl}}/api-reference/nodes-apis/index/#node-filters ). Defaults to `_all` .
2022-10-14 11:25:33 -04:00
## Request fields
The request may include an optional object containing the password for the OpenSearch keystore.
```json
{
"secure_settings_password": "keystore_password"
}
```
2023-02-20 11:34:20 -05:00
#### Example request
2022-10-14 11:25:33 -04:00
The following is an example API request:
```
POST _nodes/reload_secure_settings
```
2023-01-30 17:09:38 -05:00
{% include copy-curl.html %}
2022-10-14 11:25:33 -04:00
2023-02-20 11:34:20 -05:00
#### Example response
2022-10-14 11:25:33 -04:00
The following is an example response:
```json
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "opensearch-cluster",
"nodes" : {
"t7uqHu4SSuWObK3ElkCRfw" : {
"name" : "opensearch-node1"
}
}
}
```
## Required permissions
2023-05-04 11:11:54 -04:00
If you use the Security plugin, make sure you set the following permissions: `cluster:manage/nodes` .