---
title: "Denies the request; the agent's next poll returns access_denied."
method: POST
path: "/api/AgentIdentity/Deny"
tags: ["AgentIdentity"]
---

# Denies the request; the agent's next poll returns access_denied.

`POST /api/AgentIdentity/Deny`

## Request

- Base URL: `https://api2.globalfinreg.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api2.globalfinreg.com/api/AgentIdentity/Deny`
- Auth: API key in header `Authorization`

## Headers

- `x-imp-userid` string

## Request body

- AttemptRequest
  - `attempt` string, nullable
  - `userCode` string, nullable

## Response `200`

Denied.

## Other responses

- `404`: Unknown attempt, or it belongs to another user.
- `409`: Already approved or completed.

---

[API](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation.md) · [All operations](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/globalfinreg/apis/registration-agents-api-documentation/revisions/97e306fd0c82?raw)
