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.eyJzdWIiOiIzMDQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjcsImV4cCI6MTc2NjIxODM2NywianRpIjoiZWI3ZmM3OTQtNmM1NC00YmZmLWE0MzktZDJjMmM1MjM5Zjc2In0.oAgs1Mxr5r5haTJqTlmL0UabNvp4N9FqHss5C4opb6U
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/"66400f088b0cd474bc49d4356ff8c7c9"
cache-control: max-age=0, private, must-revalidate
x-request-id: b5003e8b-cab7-4048-98be-c8de60f2ffa7
x-runtime: 0.029231
content-length: 230

Body

{
  "delete_request": {
    "id": 10,
    "created_at": "2025-11-20T08:12:47.615Z",
    "reason": "Explicabo repellendus alias deleniti.",
    "status": "rejected",
    "user": {
      "id": 303,
      "admin": false,
      "image": null,
      "referral_code": "193164",
      "title": "Kimi Nicolas"
    }
  }
}