Skip to Content
dropshelf
REST API

Approve a query

Admin only. A pending or denied query runs for the drop's viewers from now on. A query a grant change blocked is refused: change the grant, or redeploy the query under one that covers it. The drop's owner and editors are told.

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

Admin only. A pending or denied query runs for the drop's viewers from now on. A query a grant change blocked is refused: change the grant, or redeploy the query under one that covers it. The drop's owner and editors are told.

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

Empty.

application/json
  1. body

Response Body

Approved.

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

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