---
title: "Deny a hosted gateway sign-on request (signed-in owner)"
method: POST
path: "/v1/hosted-gateway/authorizations/deny"
---

# Deny a hosted gateway sign-on request (signed-in owner)

`POST /v1/hosted-gateway/authorizations/deny`

## Request

- Base URL: `https://api.decionis.com`
- URL: `https://api.decionis.com/v1/hosted-gateway/authorizations/deny`
- Auth: API key in cookie `decionis_account_session`

From the page itself (same-origin, JSON body, as approve), by the owner the request names, signed in by a sign-in that proved the email; the operator's next poll answers `access_denied`.

## Request body

- HostedGatewayDenyRequest
  - `user_code` string, required

## Response `200`

Denied

- object
  - `status` 'denied', required
  - `authorization_id` string, uuid, required
  - `tenant_label` string, required

## Other responses

- `400`: Structured API error
- `401`: Structured API error
- `403`: Structured API error
- `404`: Structured API error
- `409`: Structured API error
- `410`: Structured API error
- `415`: Structured API error
- `429`: Structured API error

---

[API](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api.md) · [All operations](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/llms.txt) · [OpenAPI document](https://skmtc.dev/decionis/apis/decionis-policy-evaluation-api/revisions/357f5e459d0c?raw)
