Skip to main content

Project users

GET 

/project/:id/users

Return list of Users with access to the project

Request

Path Parameters

    id stringrequired

    A unique project ID

    Example: 5e9602e7a39e5a46428b457f

Responses

Return array of User objects

Schema

  • Array [

  • emailstring

    Main user email

    Example: roman@testomato.com
    phonenullable

    A phone number (optional) and not required

    confirmTokenExpiration

    nullable

    Date and time when current common confirm token expires

    datedate-time
    Example: 2022-10-21 13:10:35.000000
    timezone_typeint32
    Example: 3
    timezonestring
    Example: Europe/Prague
    namestring

    User name

    Example: John Tomatoseeds
    confirmedboolean

    Was user email confirmed?

    timezonestring

    User time zone name

    Example: Europe/Prague
    reportPeriodstring

    Possible values: [week]

    Example: week
    notificationEmailnullable
    Example: roman+notifications@testomato.com
    notificationDelayint32
    Example: 1
    apiKeystring

    User API Key

    Example: abcdef
    idstring
    Example: 7

    role

    object

    idstring
    Example: 4
    users_idnullable
    namestring
    Example: project admin
    permissionsstring[]
    systemRoleboolean
    Example: true

    permissionsSwitches

    object

    Project permissions for current user

    readboolean

    Can current user view results?

    runboolean

    Can current user run checks?

    editTestboolean
    editboolean

    Can current user edit project settings?

    manageUsersboolean

    Can current user manage others?

    Default value: true
    apiKeyboolean

    Can current user view apiKey?

    Default value: true
    leaveboolean

    Can current user leave project?

    Default value: true
    isPayerboolean

    Is user owner of the Project?

    Example: false
    canBeRemovedboolean
    Example: true
  • ]