Skip to navigation

Excluir um bot

View as MarkdownOpen in Claude

Exclui um bot. As mensagens que ele já enviou continuam nos chats.

Requer o escopo bots:write.

Authentication

AuthorizationBearer
Chave de API v2, criada no painel da loja.
OR
x-api-keystring
Chave de API v2, criada no painel da loja.

Path parameters

idstringRequiredformat: "^bot_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$"<=120 characters

Id do bot, com o prefixo bot_.

Response headers

X-RateLimit-LimitintegerOptional

Requisições permitidas na janela atual.

X-RateLimit-RemainingintegerOptional

Requisições restantes na janela atual.

X-RateLimit-ResetintegerOptional

Segundos até o limite da janela atual ser renovado.

X-RateLimit-BucketenumOptional

Limite usado pela rota: read (leituras), write (escritas), mark_paid (marcar como pago) ou webhook_test (eventos de teste).

Allowed values:

Response

Id do bot excluído, com deleted: true.

objectenum

Tipo do objeto. Sempre bot.

Allowed values:
idstring

Id do bot excluído.

deletedboolean

Sempre true.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error