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.eyJzdWIiOiIyODAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDg1MTY1MDAsImV4cCI6MTc1MTEwODUwMCwianRpIjoiYWQ2ZWViM2UtZjA1Mi00YTJiLWE3ZTUtMDQ4MWUyNTBhN2UwIn0.DvSh9-LBXvzzc8tYAIZp15lZKcBheJj-_McCRWUN9VI
Host: example.org
Cookie: 

Query Parameters

{}=

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/"0944e5a3af893541970d0d46353102d2"
cache-control: max-age=0, private, must-revalidate
x-request-id: 22c9ff8b-f629-4b4c-9314-62d4aec2abb3
x-runtime: 0.012979
content-length: 609

Body

{
  "delete_requests": [
    {
      "id": 1,
      "created_at": "2025-05-29T11:01:40.508Z",
      "reason": "Ea quo aut aut.",
      "status": "pending",
      "user": {
        "id": 277,
        "admin": false,
        "image": null,
        "referral_code": "828157",
        "title": "Pedro Bednar"
      }
    },
    {
      "id": 2,
      "created_at": "2025-05-29T11:01:40.518Z",
      "reason": "Sint ducimus corrupti fuga.",
      "status": "pending",
      "user": {
        "id": 278,
        "admin": false,
        "image": null,
        "referral_code": "151666",
        "title": "Ena Gottlieb"
      }
    },
    {
      "id": 3,
      "created_at": "2025-05-29T11:01:40.528Z",
      "reason": "Ut quis et consequatur.",
      "status": "pending",
      "user": {
        "id": 279,
        "admin": false,
        "image": null,
        "referral_code": "023601",
        "title": "Filiberto Senger"
      }
    }
  ]
}