v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Branch

List roles

Retrieves a list of Postgres roles from the specified branch. For related information, see Manage roles.

get/projects/{project_id}/branches/{branch_id}/roles

Response

Returned a list of roles from the specified branch.

Example response

{
  "roles": [
    {
      "branch_id": "br-wispy-meadow-118737",
      "name": "casey",
      "protected": false,
      "created_at": "2022-11-23T17:42:25Z",
      "updated_at": "2022-11-23T17:42:25Z"
    }
  ]
}