Pular para o conteúdo 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
}

Autorizações

Authorization
string
header
obrigatório

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

Cabeçalhos

X-On-Behalf-Of
string

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

Parâmetros de caminho

agent_id
string
obrigatório

Resposta

Resultado da exclusão.

object
enum<string>
obrigatório
Opções disponíveis:
agent.deleted
id
string
obrigatório
deleted
boolean
obrigatório