ManagementKeys
List a branch's data API keys
GET
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
id*string
Database id
Format
uuidbranch_id*string
Branch id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/databases/497f6eca-6276-4993-bfeb-53cbbbba6f08/branches/497f6eca-6276-4993-bfeb-53cbbbba6f08/keys"[ { "bypasses_rls": true, "created_at": "2019-08-24T14:15:22Z", "databases": [ "string" ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "key": "string", "kind": "public", "last_used_at": "2019-08-24T14:15:22Z", "name": "string", "prefix": "string", "role": "string", "role_blocked": true }]Stop serving a Postgres database DELETE
Stops serving the database at once. The `chelabase` schema and the grants stay, so enabling again is instant; `remove=true` also drops the `chelabase` schema and its event trigger (grants to `anon` and `authenticated` stay). Answers 204 after the worker has done it. The branch's main database can't be disabled.
Create a secret key POST
Next Page