DELETE
/
organization
/
teamspaces
/
{teamspace_id}
/
users
/
{user_id}
Python
from datagrid_ai import Datagrid

client = Datagrid(
    api_key="My API Key",
)
client.organization.teamspaces.users.delete(
    user_id="user_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

user_id
string
required

The ID of the user

teamspace_id
string
required

The ID of the teamspace

Response

204

User revoked successfully