For the complete documentation index, see llms.txt. This page is also available as Markdown.

add_members_to_project

imerit_ango.sdk.SDK.

add_members_to_project(project_id, members, role)

Assign one or more existing organization members to your project with a specified project role.

Parameters

  • project_id: string

  • members: List[str]

    • A list of email addresses for the users you want to add to the project.

    • Example: ["user1@example.com", "user2@example.com"]

  • role: ProjectRoles

    • The project-level role to assign to the added member(s).

    • Possible roles include:

      • ProjectRoles.Manager

      • ProjectRoles.Labeler

      • ProjectRoles.Reviewer

      • ProjectRoles.Lead

Returns:

  • output: dict

    • A dictionary containing the result of the operation.

    • Including a status field indicating whether the request was successful and a data field containing the response payload with updated resources produced by the operation.

How to verify in Ango Hub?

After successfully executing the add_members_to_project function, you can validate the changes directly in Ango Hub.

Navigate to: Projects → [Your Project] → Settings → Members

  • Confirm that the newly added users are listed under project members.

  • Verify that each user has been assigned the correct role.

Changes made via the SDK are reflected in Ango Hub in near real-time. If updates are not immediately visible, please refresh the page.

Example

Sample Output

Last updated