Delete Invitations
client.teams.deleteInvitations(stringteamID, TeamDeleteInvitationsParams { email } params, RequestOptionsoptions?): TeamDeleteInvitationsResponse
DELETE/teams/{teamId}/invitations
Withdraw a user invitation on the team
Delete Invitations
import Scenario from '@scenario-labs/sdk';
const client = new Scenario({
apiKey: process.env['SCENARIO_SDK_API_KEY'], // This is the default and can be omitted
apiSecret: process.env['SCENARIO_SDK_API_SECRET'], // This is the default and can be omitted
});
const response = await client.teams.deleteInvitations('teamId', { email: 'email' });
console.log(response);{}Returns Examples
{}