Skip to Content
dropshelf
REST API

Deny a query

Admin only. The query stops for everyone, with the reason, which the drop's managers and its page see; every replica drops its cached answers. A blocked query denied stays denied when its grant covers it again.

POST
/api/v1/admin/queries/{drop}/{source}/{hash}/deny

Admin only. The query stops for everyone, with the reason, which the drop's managers and its page see; every replica drops its cached answers. A blocked query denied stays denied when its grant covers it again.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

drop*string

The drop id.

source*string

The source id.

hash*string

The query's hash.

Request Body

The reason, optional.

application/json
  1. body
reason?string

Why, in words the drop's managers and its viewers see.

Response Body

Denied.

Example Request
curl -X POST 'https://drop.example.com/api/v1/admin/queries/string/string/string/deny' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
Empty

Generated from dropshelf core at 6a548b2, 26 Nov 2026.