Seal a vault
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({summary: '<string>'})
};
fetch('https://api.prudra.dev/vaults/{id}/seal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/vaults/{id}/seal"
payload = { "summary": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.prudra.dev/vaults/{id}/seal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"summary": "<string>"
}
'Vaults
Seal a vault
Permanently closes the vault to further writes. A sealed vault is read-only.
POST
/
vaults
/
{id}
/
seal
Seal a vault
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({summary: '<string>'})
};
fetch('https://api.prudra.dev/vaults/{id}/seal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.prudra.dev/vaults/{id}/seal"
payload = { "summary": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)curl --request POST \
--url https://api.prudra.dev/vaults/{id}/seal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"summary": "<string>"
}
'
