v1

latestOpenAPI 3.0.3Proprietary2026-07-26162247330.6 KB
Branch

Retrieve role details

Retrieves details about the specified role. In Neon, the terms "role" and "user" are synonymous. For related information, see Manage roles.

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

Response

Returned details for the specified role

Example response

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