Delete Requests

Get all delete requests(admin)

GET delete requests(admin)

Endpoint

GET /api/v1/delete_requests

Request

Route

GET /api/v1/delete_requests

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyODAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzgsImV4cCI6MTc2MzU0MjQzOCwianRpIjoiOTJkNGFjMTItMDk4Yy00MGExLWJmYzEtNjBmMTE4ZTNjOGYzIn0.CaIedqnu7Gkl21Zzo6mjGQL0qxOxUFto2SOH-gUP3Xg
Host: example.org
Cookie: 

Query Parameters

{}=

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
per-page: 20
total: 3
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"09ed31e0c8e093312e6489a464a2d1d0"
cache-control: max-age=0, private, must-revalidate
x-request-id: c30c700c-0708-47be-9e3e-b9306a8ee1ff
x-runtime: 0.013730
content-length: 624

Body

{
  "delete_requests": [
    {
      "id": 1,
      "created_at": "2025-10-20T08:53:58.583Z",
      "reason": "Aut accusamus assumenda quam.",
      "status": "pending",
      "user": {
        "id": 277,
        "admin": false,
        "image": null,
        "referral_code": "229879",
        "title": "Alease Shields"
      }
    },
    {
      "id": 2,
      "created_at": "2025-10-20T08:53:58.592Z",
      "reason": "Eum molestiae dolore nemo.",
      "status": "pending",
      "user": {
        "id": 278,
        "admin": false,
        "image": null,
        "referral_code": "584177",
        "title": "Jim Paucek"
      }
    },
    {
      "id": 3,
      "created_at": "2025-10-20T08:53:58.601Z",
      "reason": "Ducimus sint deserunt vel.",
      "status": "pending",
      "user": {
        "id": 279,
        "admin": false,
        "image": null,
        "referral_code": "812341",
        "title": "Marnie Reynolds"
      }
    }
  ]
}