Other
One person in the organisation by id
GET
https://backend.immut.io/api/v1/users/{id}Required scope: users:read
Same users:read scope and the same reasoning as GET /users. A user id from another organisation returns 404, not 403, so the endpoint cannot be used to test whether an id exists elsewhere.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
id | path | yes | id of the target record |
Responses
| Status | Meaning |
|---|---|
200 | Success Returns: name, email, role, suspended, createdAt, lastLogin. 404 for a user in another organisation, never 403. |
400 | BadRequest |
401 | Unauthorized |
403 | Forbidden |
429 | RateLimited |
Example
curl -X GET "https://backend.immut.io/api/v1/users/<id>" \
-H "Authorization: Bearer $IMMUT_API_KEY"
Generated from the immut API contract, version 1.11.0. Machine-readable: this page as markdown · everything in one file · OpenAPI