# Users Object

> Source: https://truto.one/docs/api-reference/unified-usage-metering-api/users/

Schema for the `Users` resource in **Unified Usage Metering API**.

## Properties

- **`id`** _(string, required)_
  Unique identifier for the user inside the source application.
- **`first_name`** _(string)_
  The first name of the user
- **`last_name`** _(string)_
  The last name of the user
- **`name`** _(string, required)_
  Display name of the user.
- **`emails`** _(array<object>)_
  Email addresses of the user.
  - **`email`** _(string)_
    Email address.
  - **`is_primary`** _(boolean)_
    Whether this is the primary email.
- **`roles`** _(array<object>)_
  The roles the user has.
  - **`id`** _(string)_
    The role's unique identifier.
  - **`name`** _(string)_
    The role's name.
- **`status`** _(string)_
  The status of the user. If no clear mapping is available, then the raw value is returned.
  Allowed: `active`, `inactive`, `deleted`, `invited`
- **`organization`** _(object)_
  The organization / team / workspace the user belongs to.
  - **`id`** _(string)_
  - **`name`** _(string)_
- **`spend_limit`** _(object)_
  Per-user spending limit configured in the source application.
  - **`amount`** _(number)_
    Spending limit amount (smallest currency unit).
  - **`currency`** _(string)_
    ISO 4217 currency code.
- **`last_active_at`** _(string)_
- **`created_at`** _(string)_
- **`updated_at`** _(string)_
- **`remote_data`** _(object)_
  Raw data returned from the remote API call.

## Methods

- [GET /unified/usage-metering/users](/docs/api-reference/unified-usage-metering-api/users/list) — List Users
