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.eyJzdWIiOiIyOTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzYsImV4cCI6MTc1NTg1ODE3NiwianRpIjoiODBhYmNlZjMtZTZhNy00MmZkLTlkYjctODZmYmJiZDdkZjAxIn0.5fbJsZ7ZpV_9ImpCL0LJkbCRJ3Wlg62a8ye33ogv88c
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/"dba95903570d8819db752bdefb1f020e"
cache-control: max-age=0, private, must-revalidate
x-request-id: f978c890-716b-4eba-8703-9b56466c029a
x-runtime: 0.025009
content-length: 225

Body

{
  "delete_request": {
    "id": 10,
    "created_at": "2025-07-23T10:22:56.204Z",
    "reason": "Voluptate sequi animi accusamus.",
    "status": "rejected",
    "user": {
      "id": 293,
      "admin": false,
      "image": null,
      "referral_code": "092483",
      "title": "Marlon Kutch"
    }
  }
}