import osfrom datagrid_ai import Datagridclient = Datagrid( api_key=os.environ.get("DATAGRID_API_KEY"), # This is the default and can be omitted)client.agents.delete( "agent_id",)
Agents
Delete agent
Delete an agent
DELETE
/
agents
/
{agent_id}
Python
Copy
Ask AI
import osfrom datagrid_ai import Datagridclient = Datagrid( api_key=os.environ.get("DATAGRID_API_KEY"), # This is the default and can be omitted)client.agents.delete( "agent_id",)