Skip to navigation

Excluir um endpoint de webhook

View as MarkdownOpen in Claude

Exclui um endpoint de webhook e descarta os envios pendentes dele. Os eventos já gravados continuam disponíveis em GET /events.

Requer o escopo webhooks: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: "^we_(?=.*[0-9])[A-Za-z0-9._+-]{1,100}$"<=120 characters

Id do endpoint, com o prefixo we_.

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 endpoint excluído, com deleted: true.

objectenum

Tipo do objeto. Sempre webhook_endpoint.

Allowed values:
idstring

Id do endpoint de webhook 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