Skip to content
Get started

Delete Invitations

teams.delete_invitations(strteam_id, TeamDeleteInvitationsParams**kwargs) -> object
DELETE/teams/{teamId}/invitations

Withdraw a user invitation on the team

ParametersExpand Collapse
team_id: str
email: str

The invitation email to withdraw from the team

ReturnsExpand Collapse
object

Delete Invitations

import os
from scenario_sdk import Scenario

client = Scenario(
    api_key=os.environ.get("SCENARIO_SDK_API_KEY"),  # This is the default and can be omitted
    api_secret=os.environ.get("SCENARIO_SDK_API_SECRET"),  # This is the default and can be omitted
)
response = client.teams.delete_invitations(
    team_id="teamId",
    email="email",
)
print(response)
{}
Returns Examples
{}