---
title: "Deny a pending agent authorization"
method: DELETE
path: "/agent/consent-request/{id}"
tags: ["Agents"]
---

# Deny a pending agent authorization

`DELETE /agent/consent-request/{id}`

## Request

- Base URL: `https://api.customdomain.ai/v1`
- URL: `https://api.customdomain.ai/v1/agent/consent-request/{id}`
- Auth: none required

Consumes the request so it can no longer be approved, from this tab or any other. Idempotent, and like the read it needs no credential: the request id is the capability, and cancelling is all it allows.

## Path parameters

- `id` string, required

## Response `204`

Denied

## Other responses

- `503`: Error envelope: {code, title, details}.

---

[API](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api.md) · [All operations](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/llms.txt) · [OpenAPI document](https://skmtc.dev/customdomain/apis/customdomain-control-plane-api/revisions/34d89cb7a7cd?raw)
