Create role templates for user

Assigns a user to a project

This call assigns an existing user to a project. Three parameters are required:

  • The user’s id as a path parameter. See Get users for an array of users in your workspace, including each user’s id.
  • A project id as a body parameter. See Get all projects for an array of projects in your workspace, including each project’s id.
  • A role template id as a body parameter. See Get role templates for an array of role templates in your workspace, including each role template’s id.

Here is an example of a request body:

[
     {
          "projectId": "12345678-1234-1234-1234-555555555555",
          "roleTemplateId": "111111111111111111111111"
     }
]

The user is added to the project and assigned the role template you selected. To invite a new workspace user to a project, please see Invite user to project.

A 204 code is returned when a user is successfully assigned to a project.

Language
Credentials
URL
Click Try It! to start a request and see the response here!