v2

latestOpenAPI 3.0.1Apache 2.02026-07-2698173135.4 KB
Postgres Clusters

Create User

Create a Postgres user within a specific cluster. Fetch the generated password from the credentials endpoint.

post/postgres/{postgres_cluster_id}/users

Path parameters

postgres_cluster_idstring required

Managed Postgres Cluster ID

Request body

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

Role to grant the user.

usernamestring required

Name for the new user.

Example request

{
  "role": "writer"
}

Response

Created