FruxonDocs
UsersCore

Retrieves a specific user by ID.

Looks up a single workspace member by their tenant user id. The id matches the `name` field returned by `GET /users`. Returns 404 if the user is not a member of the caller's workspace — this endpoint does not cross tenant boundaries. Use `PATCH /users/{user}` to mutate role or profile fields (admin-only).

GET
/v1/tenants/{tenant}/users/{user}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

user*string

The unique identifier of the user.

tenant*string

The tenant identifier

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/users/string"
{
  "id": "string",
  "username": "string",
  "email": "string",
  "firstName": "string",
  "lastName": "string",
  "avatarFileId": "string",
  "status": "INVITED",
  "role": "ADMIN",
  "createdAt": 0,
  "modifiedAt": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}