Delete Requests

Reject delete request

POST reject delete request

Endpoint

POST /api/v1/delete_requests/:id/reject

Request

Route

POST /api/v1/delete_requests/10/reject

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyOTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY1MDAsImV4cCI6MTc1MTEwODUwMCwianRpIjoiMTEzZWE3MjYtMTk3OC00ZDBhLThlYjItNTExNzZlMjAyNzZmIn0.KTqX8bNNCx5cE-JaktkXKslelDsHgl4JsadE_946RlE
Host: example.org
Cookie: 

Body

{
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"f6d758a80e9e3422a6bf7019b5fa1ac9"
cache-control: max-age=0, private, must-revalidate
x-request-id: ca56b6ad-7a05-44c1-8c86-909bd3260129
x-runtime: 0.018341
content-length: 233

Body

{
  "delete_request": {
    "id": 10,
    "created_at": "2025-05-29T11:01:40.752Z",
    "reason": "Impedit nisi consequatur beatae.",
    "status": "rejected",
    "user": {
      "id": 293,
      "admin": false,
      "image": null,
      "referral_code": "492599",
      "title": "Cornelius Williamson"
    }
  }
}