client.unshare_project

Unshares a project with a user or team.

📘

Info

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

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

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