[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}/pgsodiumOAuth scopes
- secrets:write
The fine-grained token must include the following permissions to access this endpoint:
- project_admin_write
Path parameters
- refRequiredstring
Project ref
Body
- root_keyRequiredstring
Response codes
- 200
- 401
- 403
- 429
- 500
Response (200)
1{2 "root_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"3}