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.eyJzdWIiOiIyOTAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjcsImV4cCI6MTc2NjIxODM2NywianRpIjoiMGE2YjgyYTctNDZmYy00MDBiLWJmMDEtMzMyMjgzYTczZjgyIn0.8CU6-ZQ9LEo0IOUVbnPYyHnMhCuatbcwBycb-Xf-MF4
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/"a21090ef4c3a358ca086ee4221f4242b"
cache-control: max-age=0, private, must-revalidate
x-request-id: a7feca9e-1104-441a-8bb5-ab7f3149842d
x-runtime: 0.012949
content-length: 626

Body

{
  "delete_requests": [
    {
      "id": 1,
      "created_at": "2025-11-20T08:12:47.375Z",
      "reason": "Ipsam ea dolore magnam.",
      "status": "pending",
      "user": {
        "id": 287,
        "admin": false,
        "image": null,
        "referral_code": "969010",
        "title": "Jermaine Koss"
      }
    },
    {
      "id": 2,
      "created_at": "2025-11-20T08:12:47.384Z",
      "reason": "Beatae voluptatem laborum unde.",
      "status": "pending",
      "user": {
        "id": 288,
        "admin": false,
        "image": null,
        "referral_code": "645537",
        "title": "Wiley Wilkinson"
      }
    },
    {
      "id": 3,
      "created_at": "2025-11-20T08:12:47.393Z",
      "reason": "Nihil placeat dolores rerum.",
      "status": "pending",
      "user": {
        "id": 289,
        "admin": false,
        "image": null,
        "referral_code": "432151",
        "title": "Reyes Klocko"
      }
    }
  ]
}