client.share_project

Shares a project with a user or team.

📘

Info

Administrators can share any project with any user. If you lack the required permissions to share a project, contact your organization administrator.

Input ParaemterTypeDefaultDescription
project_idstrNoneThe unique identifier for the project.
rolestrNoneThe permissions role being shared. Can be one of
- 'READ'
- 'WRITE'
- 'OWNER'
user_nameOptional [str]NoneA username with which the project will be shared. Typically an email address.
team_nameOptional [str]NoneA team with which the project will be shared.
PROJECT_ID = 'example_project'

client.share_project(
    project_name=PROJECT_ID,
    role='READ',
    user_name='[email protected]'
)