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
| Name | Type | Description |
|---|---|---|
client_idrequired | string | |
redirect_urirequired | string | |
stateoptional | string |
Responses
| Status | Description |
|---|---|
200 | `data`: `{ redirectTo }`. |
400 | Requisição inválida — falha de validação. |
401 | Token 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"}'