add_members_to_project
imerit_ango.sdk.SDK.
add_members_to_project(project_id, members, role)
Assigns specified users to a project with a designated role.
Parameters
project_id: string
The unique identifier for the project. You can find the project ID in the user interface or retrieve it using the
list_projects
function.
members: List[str]
A list of emails of the user(s) you wish to add to the project.
Example:
["user1@test.com", "user2@test.com"]
role: imerit_ango.models.enums.ProjectRoles
The role in which you would like to add the user(s) to the project. Possible roles include:
ProjectRoles.Manager
ProjectRoles.Labeler
ProjectRoles.Reviewer
ProjectRoles.Lead
Note: You must import the enum containing the roles using
from imerit_ango.models.enums import ProjectRoles
Returns:
output: dict
Example
Last updated