Skip to main content
POST
/
vaults
/
{id}
/
persist
Persist a vault
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: JSON.stringify({removeExpiry: true})
};

fetch('https://api.prudra.dev/vaults/{id}/persist', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
{
  "type": "https://api.prudra.dev/problems/payment-limit-reached",
  "title": "Plan Limit Reached",
  "status": 429,
  "detail": "Your plan includes 100 payments per month. You have used 100.",
  "limit": 100,
  "current": 100,
  "upgradeUrl": "https://dashboard.prudra.com/settings/billing"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prudra.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Your Prudra API key. Get one at dashboard.prudra.com/settings/api-keys

Path Parameters

id
string
required

Body

application/json
removeExpiry
boolean
default:true

Response

Vault persisted