Skip to content

Cancelar — recusa o pedido de acesso do assistente

POST/api/oauth/authorize/deny

Auth
Requires a token
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.

Corpo: os mesmos parâmetros da URL da tela. Devolve `data.redirectTo` com `error=access_denied` e o `state`, para o app devolver o navegador ao cliente. Nada é gravado. Requer o token do app.

Request body application/json

NameTypeDescription
client_idrequiredstring
redirect_urirequiredstring
stateoptionalstring

Responses

StatusDescription
200`data`: `{ redirectTo }`.
400Requisição inválida — falha de validação.
401Token ausente, inválido ou expirado.

curl example

curl -X POST "https://api.memberfy.net/api/oauth/authorize/deny" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"client_id":"string","redirect_uri":"string"}'