The basic tasks for creating and managing Project Users are described below. A Platform Admin can perform all these actions, and many can also be performed by Project Admins. For more details, refer to individual APIs.
Project User Management
# | Procedure | Using Platform UI | Using APIs |
---|---|---|---|
1 | Create a project role | POST ${baseUrl}/v1/projects/{project_key}/roles | |
2 | Get a project role | GET /v1/projects/{project_key}/roles/{role} | |
3 | Update a project role | Update an Existing Project Role PUT /v1/projects/{project_key}/roles/{role} | |
4 | Delete a project role | DELETE /v1/projects/{project_key}/roles/{role} | |
5 | Add a user to a project | PUT ${baseUrl}/access/api/v1/projects/{project_key} | |
6 | Update a user in a project | PUT ${baseUrl}/access/api/v1/projects/{project_key} | |
7 | Get a project user | GET ${baseUrl}/access/api/v1/projects/{project_key}/users/{user} | |
8 | Get all the project users | GET ${baseUrl}/access/api/v1/projects/{project_key}/users | |
9 | Update a project user | PUT ${baseUrl}/access/api/v1/projects/{project_key}/users/{user} | |
10 | Delete project user | Delete Existing Project's User DELETE ${baseUrl}/access/api/v1/projects/{project_key}/users/{user} | |
11 | Get a project group | GET ${baseUrl}/access/api/v1/projects/{project_key}/groups/{group} | |
12 | Get all the project groups | GET ${baseUrl}/access/api/v1/projects/{project_key}/groups | |
13 | Update a project group | PUT ${baseUrl}/access/api/v1/projects/{project_key}/groups/{group} | |
14 | Delete a project group | Delete Existing Project's Group DELETE ${baseUrl}/access/api/v1/projects/{project_key}/groups/{group} | |
15 | View project admins, groups and users | GET ${baseUrl}/access/api/v1/projects/{project_key}/users GET ${baseUrl}/access/api/v1/projects/{project_key}/groups/{group} | |
16 | Edit project admin privileges | Update Existing Project Properties PUT ${baseUrl}/access/api/v1/projects/{project_key} |