v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Secrets

[Beta] Updates project's pgsodium config. Updating the root_key can cause all data encrypted with the older key to become inaccessible.

put/v1/projects/{ref}/pgsodium

Path parameters

refstring required
Example:abcdefghijklmnopqrst

Project ref

Request body

root_keystring required

Example request

{
  "root_key": "MDEyMzQ1Njc4OWFiY2RlZjAxMjM0NTY3ODlhYmNkZWY="
}

Response

root_keystring required