Skip to content

Users

Reading users works with READ. Creating, updating, or deleting users requires WRITE (Authentication & scopes).

A user carries identity, contact, and profile fields, plus:

  • role — EMPLOYEE or ADMIN, which controls Fleet permissions.
  • is_signatory — whether the user can sign leasing contracts, on top of the role.
  • teams — the teams the user belongs to ({ id, label }).
  • secondary_email — a personal email to reach the user outside work. It is never used to sign in.

The list is paginated. Filter with search (name or email) and is_signatory=true to list who can sign contracts.

  • Create requires a work email. role defaults to EMPLOYEE.
  • Update changes only the fields you send. Send null to clear a field where the schema allows it, such as secondary_email.
  • team_ids assigns teams; on update it replaces every membership.
  • is_signatory: true needs a phone, in the same request or already on the user (SIGNATORY_PHONE_REQUIRED otherwise).

Common errors: USER_EMAIL_CONFLICT (409, the email or personal email belongs to another user), USER_EMAIL_NOT_ALLOWED, USER_TEAM_NOT_FOUND, USER_ROLE_UPDATE_FORBIDDEN. Deleting a user who is the only possible purchaser of an order returns USER_DELETE_BLOCKED (409).

User ids are reused across the API:

  • purchaser and signatory of carts and orders
  • assignee of devices and of cart lines
  • requester of support tickets
  • resident of a personal HOME address, through user_id on addresses and GET /user-addresses?user_id=
  • Carts & orders — purchasers and signatories.
  • Devices — assignment.
  • API reference — Users tag for request and response schemas.