---
title: "Revoke the endpoint's content grant"
method: DELETE
path: "/api/hook-endpoints/{id}/content-grant"
tags: ["HookEndpoints"]
---

# Revoke the endpoint's content grant

`DELETE /api/hook-endpoints/{id}/content-grant`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/hook-endpoints/{id}/content-grant`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

## Response `204`

Revoked.

## Other responses

- `401`: Missing or invalid credentials.
- `403`: Admin or owner role (or an API key with admin scope) required, or the plan lacks the webhooks feature.
- `404`: Resource not found (or not visible to the caller).

---

[API](https://skmtc.dev/contextq/apis/contextq-api.md) · [All operations](https://skmtc.dev/contextq/apis/contextq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contextq/apis/contextq-api/revisions/7afc44056a22?raw)
