reject_request_v1_requests__request_id__reject_post
Reject a dataset request by providing a required reason and optional version and comment. Admin-only endpoint for managing data access requests.
Instructions
POST /v1/requests/{request_id}/reject (auth: Bearer OPENDATA_API_KEY) — Reject Request — Reject a dataset request with a reason. Admin-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request_id": "<request_id>",
"body": "<body>"
},
"name": "reject_request_v1_requests__request_id__reject_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request_id | Yes | ||
| body | Yes | Request body (application/json) for POST /v1/requests/{request_id}/reject |