add_members_to_project
imerit_ango.sdk.SDK.
add_members_to_project(project_id, members, role)
Assigns one or more existing organization members to a project with a specific project 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_projectsfunction.
members: List[str]
A list of email addresses for the users you want to add to the project.
Example:
["[email protected]", "[email protected]"]
role: 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
Returns:
output: dict
A dictionary containing the result of the operation.
Including a
statusfield indicating whether the request was successful and adatafield containing the response payload with updated resources produced by the operation.
All specified users must be existing members of the organization. To invite new users, use the invite_members_to_org function.
Example
Last updated