---
title: "Remove an app's access to the caller's own account [admin]"
method: DELETE
path: "/oauth_grants/{client_id}"
tags: ["oauth_grants"]
---

# Remove an app's access to the caller's own account \[admin\]

`DELETE /oauth_grants/{client_id}`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/oauth_grants/{client_id}`
- Auth: HTTP bearer

The same Remove as the account page: the consent is forgotten and every token the app holds for this person stops working at once. The grant removed is always the caller's own; 404 `not_found` when that app had no access. Restricted credentials are 403 `restricted_token`.

## Path parameters

- `client_id` string, required

## Response `200`

Revoked

- object
  - `revoked` boolean

## Other responses

- `default`: Error — { error: { code, message } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/oauth_grants/:client_id/delete.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/8280a065ef6a?raw)
