Retrieve a Single User

To retrieve a single user in your PostgreSQL cluster, send a GET request.

Note: The sample UUID in all following request examples is 498ae72f-411f-11eb-9d07-046c59cc737e.

Endpoint

Use the following endpoint to retrieve details for a specific user in your PostgreSQL cluster:

https://api.ionos.com/databases/postgresql/clusters/{clusterId}/users/{username}

Request

curl --request GET \
    --user "[email protected]:Mb2.r5oHf-0t" \
    https://api.ionos.com/databases/postgresql/clusters/498ae72f-411f-11eb-9d07-046c59cc737e/users/someuser

Response

{
  "id": "b35402eb-bd7b-512d-92c9-9726db47c101",
  "properties": {
    "system": false,
    "username": "someuser"
  },
  "type": "user"
}

Last updated

Was this helpful?