Skip to main content
DELETE
/
organization
/
teamspaces
/
{teamspace_id}
/
invites
/
{invite_id}
Python
import os
from datagrid_ai import Datagrid

client = Datagrid(
    api_key=os.environ.get("DATAGRID_API_KEY"),  # This is the default and can be omitted
)
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