Fly.io
Postgres Clusters

List Users

View as Markdown

List all Postgres users within a specific cluster.

GET
/v1/postgres/{postgres_cluster_id}/users

List all Postgres users within a specific cluster.

Authorization

bearerAuth
AuthorizationBearer <token>

A Fly.io access token. Create one with fly tokens create.

In: header

Path Parameters

postgres_cluster_id*string

Managed Postgres Cluster ID

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/postgres/string/users"
{  "data": [    {      "role": "schema_admin",      "username": "string"    }  ]}
{  "error": "string"}