admin

Reject a pending request. Owner only.

Mark a pending access request rejected. Nothing is emailed. A request already approved or rejected is 409 request_already_decided (revoke an approved request's code with DELETE /v1/admin/codes/{code_id} instead). Needs the admin scope and an admin account. MCP: reject_access_request.

post/v1/admin/requests/{request_id}/reject

Request

  • Base URL: https://api.hookdetector.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.hookdetector.com/v1/admin/requests/{request_id}/reject
  • Auth: none declared

Path parameters

request_idstring required

Headers

authorizationstring nullable

Bearer hd_... from POST /v1/accounts or POST /v1/keys

Response

Successful Response

request_idstring required
status'rejected' required
decided_atstring required

Example response

{
  "decided_at": "2026-09-23T10:00:00.000000+00:00",
  "request_id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "status": "rejected"
}

Changes

No recorded changes to this operation across all 1 revision of this API.