Skip to main content
GET
/
users
/
{id}
Get a user
import requests

url = "https://{FUSION HOST}/api/users/{id}"

response = requests.get(url)

print(response.json())
{
  "id": "fe0885f2-8885-4c46-a3ea-8e5d0041c293",
  "username": "1new-user-test",
  "realmName": "native",
  "createdAt": "2025-10-30T21:59:01Z",
  "roleNames": [
    "search",
    "developer"
  ],
  "timezone": "Mountain Time (US & Canada)",
  "permissions": [
    {
      "methods": [
        "GET",
        "PUT",
        "POST"
      ]
    }
  ]
}

Path Parameters

id
string
required

The user ID. Note that this is different than the username. Use GET /users to get the list of user IDs.

Response

Successful operation

id
string
Example:

"fe0885f2-8885-4c46-a3ea-8e5d0041c293"

username
string
Example:

"admin"

realmName
string
Example:

"ldap-internal"

createdAt
string<date-time>
Example:

"2025-09-23T17:48:07Z"

updatedAt
string<date-time>
Example:

"2025-10-31T12:28:04Z"

roleNames
string[]

Indicates which roles are dynamically applied to users in the realm.

Example:
["search", "developer"]
timezone
string
Example:

"Pacific Time (US & Canada)"

permissions
object[]