Skip to main content

Get users in project

GET /api/admin/projects/:projectId/users
deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Get users belonging to a project together with their roles as well as a list of roles available to the project. This endpoint is deprecated. Use /:projectId/access instead.

Request

Path Parameters

  • projectId string required
Responses

projectUsersSchema

Schema
  • users object[]required

    A list of users with access to this project and their role within it.

  • Array [
  • isAPI boolean deprecated

    Whether this user is authenticated through Unleash tokens or logged in with a session

  • name string

    The name of the user

  • email string nullable

    The user's email address

  • id integer required

    The user's ID in the Unleash system

  • imageUrl uri nullable

    A URL pointing to the user's image.

  • addedAt date-time

    When this user was added to the project

  • roleId integer

    The ID of the role this user has in the given project

  • roles integer[]

    A list of roles this user has in the given project

  • ]
  • roles object[]required

    A list of roles that are available for this project

  • Array [
  • id integer required

    The role id

  • type string required

    A role can either be a global root role (applies to all projects) or a project role

  • name string required

    The name of the role

  • description string

    A more detailed description of the role and what use it's intended for

  • project string nullable

    What project the role belongs to

  • ]
Loading...