Skip to main content
PATCH
Update User Role

Authorizations

Authorization
string
header
required

A Fly API token with access to the requested organization or resource. Send it as Authorization: Bearer <Fly API token>.

Path Parameters

postgres_cluster_id
string
required

Managed Postgres Cluster ID

username
string
required

Postgres User Name

Body

application/json

Role details

role
enum<string>
required

New role for the user.

Available options:
schema_admin,
writer,
reader
Example:

"reader"

Response