Skip to main content

Get Users

GET 

/api/v33.01/users

x-prisma-cloud-target-env: {"permission":"userManagement"}

Retrieves a list of all users.

This endpoint maps to Manage > Authentication > Users in the Console UI.

cURL Request

The following cURL command retrieves all users.

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
'https://<CONSOLE>/api/v<VERSION>/users'

A successful response returns a list of all users.

Responses

UserList represents a list of users

Schema
  • Array [
  • authType api.AuthType (string)

    Possible values: [saml,ldap,basic,oauth,oidc]

    AuthType is the user authentication type

    lastModified date-time

    Datetime when the user was created or last modified.

    password string

    Password for authentication.

    permissions object[]

    Permissions is a list of permissions

  • Array [
  • collections string (string)[]

    List of collections the user can access.

    project string

    Names of projects which the user can access.

  • ]
  • role string

    User role.

    username string

    Username for authentication.

  • ]
Loading...