REST API›Enterprise

GET

Returns the admin and non-admin users of an enterprise.

Path Params

  • enterpriseId string required
    The enterprise ID

Query Params

  • allowInactiveUsers boolean
    Whether inactive users whose emails are unverified should be returned as well

Responses

200
OK

Response Body

object

  • adminUsers array of objects
    adminUsers object
    • id string required
      The unique identifier for the user
    • username string required
      The username of the user
    • permissions array of string enums required
      adminauditorwallet.create
    • identity object required
      The identity information of the user
      identity object
      • kyc object required
        The KYC information, an empty object for requests made by users who are not enterprise admins
        kyc object
        • hasVideoID boolean
          Whether the user has completed video ID verification
        • overallState string
          The overall state of KYC verification
        • required boolean
          Whether KYC is required for the user
    • firstName string
      The first name of the user
    • lastName string
      The last name of the user
    • fullName string
      The full name of the user
    • isActive boolean
      Whether the user is active
    • email object
      The email address of the user and whether it has been verified
      email object
      • email string required
        The email address of the user
      • verified boolean required
        Whether the email address has been verified
    • verified boolean
      Whether the email address of the user has been verified
  • nonAdminUsers array of objects
    nonAdminUsers object
    • id string required
      The unique identifier for the user
    • username string required
      The username of the user
    • permissions array of string enums required
      adminauditorwallet.create
    • identity object required
      The identity information of the user
      identity object
      • kyc object required
        The KYC information, an empty object for requests made by users who are not enterprise admins
        kyc object
        • hasVideoID boolean
          Whether the user has completed video ID verification
        • overallState string
          The overall state of KYC verification
        • required boolean
          Whether KYC is required for the user
    • firstName string
      The first name of the user
    • lastName string
      The last name of the user
    • fullName string
      The full name of the user
    • isActive boolean
      Whether the user is active
    • email object
      The email address of the user and whether it has been verified
      email object
      • email string required
        The email address of the user
      • verified boolean required
        Whether the email address has been verified
    • verified boolean
      Whether the email address of the user has been verified
  • count number
    The total number of users returned
  • incomplete boolean
    True when the enterprise has more than 500 users, so some may be missing from the result
400
Bad Request

Response Body

ONE OF

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
401
Unauthorized

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
403
Forbidden

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id
404
Not Found

Response Body

object

  • name string
    Error code
  • context map of objects required
    Properties that apply to a specific error name
    context object
    • <key> object
  • error string required
    Human-readable error message
  • requestId string required
    Client request id