PUT/projects/api/v3/projects/{projectId}/people.json

Add people to a project

Adds a list of user ID's to a project.

Path Params

  • Name
    projectId
    Type
    integer
    required
    Description

Body Params

UsersPayload consists of userIDs

    • Name
      checkTeamIds
      Type
      array
    • Name
      userIds
      Type
      array

    Responses

    • Code
      200
      Type
      object
      Schema
      Description
      200 OK
      AddPeopleToProjectResponse contains information about which users were and weren't add to the project as well as why the users were not able to be added
    • Code
      400
      Type
      object
      Schema
      Description
      400 Bad Request
      ErrorResponse defines how []Error should be marshaled to JSON.
    • Code
      403
      Type
      object
      Schema
      Description
      403 Forbidden
      ErrorResponse defines how []Error should be marshaled to JSON.

    Examples

    200 OK

    AddPeopleToProjectResponse
    {
      "info": [
        "string"
      ],
      "teamIds": [
        0
      ],
      "usersAdded": [
        0
      ],
      "usersAlreadyInProject": [
        0
      ],
      "usersNotAdded": [
        0
      ]
    }