Reload the encryption keyring
POST/volumes/keys/reload
Re-reads the daemon's key sources and swaps the keyring in without a restart. Refuses to drop a key a volume still uses.
Responses
204 No contentNo Content
400 Bad requestBad Request
ErrorResponse
codestringerrorstring501 Not Implemented
ErrorResponse
codestringerrorstringAuthentication
bearerAuthHTTP bearer. Daemon API key. Omit on a keyless loopback daemon.Request
▍POST/volumes/keys/reload
curl '/volumes/keys/reload' \
-X POSTconst response = await fetch("/volumes/keys/reload", {
method: "POST",
});
const data = await response.json();import requests
response = requests.post(
"/volumes/keys/reload",
)
data = response.json()Response
204 No content
No response body.