Skip to content
Management API Reference

Updates project's postgrest config

patch/v1/projects/{ref}/postgrest

OAuth scopes

  • rest:write

Path parameters

  • ref
    Required
    string

    Project ref

Body

  • db_extra_search_path
    Optional
    string
  • db_schema
    Optional
    string
  • max_rows
    Optional
    integer
  • db_pool
    Optional
    integer
  • db_pool_acquisition_timeout
    Optional
    integer

Response codes

  • 200
  • 401
  • 403
  • 429
  • 500

Response (200)

1
{
2
"db_schema": "lorem",
3
"max_rows": 42,
4
"db_extra_search_path": "lorem",
5
"db_pool": 42,
6
"db_pool_acquisition_timeout": 42
7
}