DELETE
/
organization
/
teamspaces
/
{teamspace_id}
/
invites
/
{invite_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
client.organization.teamspaces.invites.delete(
    invite_id="invite_id",
    teamspace_id="teamspace_id",
)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

teamspace_id
string
required

The ID of the teamspace

invite_id
string
required

The ID of the invite

Response

204

Invite deleted successfully