v1

latestOpenAPI 3.1.12026-07-124448163.2 KB
admin.users

Get an accountant user

Returns a single accountant user by ID.

get/admin/users/{id}

Path parameters

idstring cuid required

The ID of the item

Example:cmf41ajzv003706un4i99q19z

Response

Accountant user

idstring cuid required

Identifier of the accountant user.

createdAtstring date-time required

ISO 8601 timestamp when the accountant user record was created.

emailstring email required

Email address of the accountant user.

firstNamestring nullable required

First name of the accountant user, if provided.

lastNamestring nullable required

Last name of the accountant user, if provided.

Example response

{
  "id": "cmf41ajzv003706un4i99q1b1",
  "createdAt": "2024-08-20T12:34:56Z",
  "email": "alex@example.com",
  "firstName": "Alex",
  "lastName": "Müller",
  "roles": [
    {
      "id": "cmf41ajzv003706un4i99q1a0",
      "name": "accountant_admin",
      "customName": "Head of Accounting"
    }
  ]
}