Skip to Content
KomexiKomexi
DesenvolvedoresAPI HTTP

API POST /api/dashboard/integrations/tokens/:tokenId/revoke

Referência HTTP /api/dashboard/integrations/tokens/:tokenId/revoke

Endpoint

/api/dashboard/integrations/tokens/:tokenId/revoke

Implementação: apps/cms/src/app/api/dashboard/integrations/tokens/[tokenId]/revoke/route.ts

Métodos

  • POST

Autenticação

Bearer kmx_live_… com escopo prices:write (ERP) ou conforme rota.

Fluxo no produto

Rotas /api/dashboard/* alimentam o painel. Rotas /api/player/* são usadas pelos players. Rotas /api/integrations/* e /api/mcp/* usam tokens kmx_live_….

Erros

Leia as mensagens error no JSON de resposta. Para 429, aguarde Retry-After (segundos).

Páginas relacionadas

On this page