Saltar al contenido principal
DELETE
/
api
/
v1
/
agents
/
{agent_id}
Python (SDK)
from openapi import SDK, models


with SDK() as sdk:

    res = sdk.agents.delete_agent(security=models.DeleteAgentSecurity(
        bearer_auth="<YOUR_BEARER_TOKEN_HERE>",
    ), agent_id="<id>")

    # Handle response
    print(res)
{
  "object": "agent.deleted",
  "id": "<string>",
  "deleted": true
}

Autorizaciones

Authorization
string
header
requerido

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

Encabezados

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Parámetros de ruta

agent_id
string
requerido

Respuesta

Resultado de eliminación.

object
enum<string>
requerido
Opciones disponibles:
agent.deleted
id
string
requerido
deleted
boolean
requerido