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.data_views.service_accounts.delete(
"service_account_id",
)
Removes a service account and all associated data views.
DELETE
/
data-views
/
service-accounts
/
{service_account_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.data_views.service_accounts.delete(
"service_account_id",
)