Skip to content
Management API Reference

[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

OAuth scopes

  • secrets:write

Path parameters

  • ref
    Required
    string

    Project ref

Body

  • root_key
    Required
    string

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{
2
"root_key": "lorem"
3
}