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.eyJzdWIiOiIyOTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzgsImV4cCI6MTc2MzU0MjQzOCwianRpIjoiMWI0ZTdiYjgtYjhjMi00NWRkLTg5ZWQtYjI3OGI3MmJjNzJjIn0.1UYfMS0zLpm9JxT8IyJQBucHusvP4m9jxG3p_PgNCSU
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/"2682b22c65b7d492935ff1ce472ca01d"
cache-control: max-age=0, private, must-revalidate
x-request-id: e3db14e3-7397-44aa-b1fe-60e1d208c9e1
x-runtime: 0.019232
content-length: 225

Body

{
  "delete_request": {
    "id": 10,
    "created_at": "2025-10-20T08:53:58.825Z",
    "reason": "Fugit iste voluptatem dolore.",
    "status": "rejected",
    "user": {
      "id": 293,
      "admin": false,
      "image": null,
      "referral_code": "723531",
      "title": "Corey Gleichner"
    }
  }
}