# List environment users.

Endpoint: GET /environments/{environmentId}/users
Version: 3.17.0
Security: ApiKeyAuth

## Security:

  - `ApiKeyAuth` (unknown)
    apiKey in header Authorization

## Path parameters:

  - `environmentId` (string, required)
    The ID of the environment.

## Response 200:

  - `200` (unknown)
    OK

## Response 200 fields (application/json):

  - `users` (array)
    List of users

  - `users.user_ref` (string)
    Environment user reference
    Example: user-ref-1

  - `users.username` (string)
    Username of environment user
    Example: username-1

  - `users.primary_user` (boolean)
    This indicates if this user is primary or not
    Example: false

  - `users.auth_type` (string)
    Authentication type of this user. PasswordCredential indicates username and password are used, SystemKeyCredential indicates public key based security credential, KeyPairCredential indicates public key based security credential consisting of a user specified key pair, KerberosCredential indicates Kerberos authentication, CyberArkVaultCredential indicates CyberArk Vault is used and HashiCorpVaultCredential indicates that Hashicorp vault is used for authentication
    Enum: "PasswordCredential", "SystemKeyCredential", "KeyPairCredential", "KerberosCredential", "CyberArkVaultCredential", "HashiCorpVaultCredential", "AzureVaultCredential"

