---
title: "撤销 Agent 授权"
method: DELETE
path: "/agent/grants/{id}"
tags: ["Agent"]
---

# 撤销 Agent 授权

`DELETE /agent/grants/{id}`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/agent/grants/{id}`
- Auth: API key in header `Authorization`

撤销当前用户的一条授权；之后同类调用会重新询问。

## Path parameters

- `id` string, required

## Response `200`

撤销结果

- object

## Other responses

- `404`: 授权不存在

## Changes

- **2026-10-19** `80c72611fac6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/agent/grants/:id/delete.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/685d1f9fce30?raw)
