v2

latestOpenAPI 3.0.1Apache 2.02026-07-2698173135.4 KB
Postgres Clusters

Update User Role

Update a specific Postgres user's role within a cluster.

patch/postgres/{postgres_cluster_id}/users/{username}

Path parameters

postgres_cluster_idstring required

Managed Postgres Cluster ID

usernamestring required

Postgres User Name

Request body

role'schema_admin' | 'writer' | 'reader' required

New role for the user.

Example request

{
  "role": "reader"
}

Response

No Content