Get all delete requests(admin)
Delete Requests
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.eyJzdWIiOiIyODAiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTEsImV4cCI6MTc0NTA1NjkxMSwianRpIjoiNTA3NmQxMDAtMWMxZS00YzgwLWE4NmYtYWI4ZWQwNWUzMTI2In0.Nczgy8Ve1Sfbz2YlCpexAx_z7n4DPty5aMNrBKEljDo
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/"45d5ef7f0275321e95cae1b81dc85c4c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 44b40aa6-3f26-4aba-80db-61bde0f83b4a
x-runtime: 0.018351
content-length: 645
Body
{
"delete_requests": [
{
"id": 1,
"created_at": "2025-03-20T10:01:51.912Z",
"reason": "Dolor necessitatibus explicabo veritatis.",
"status": "pending",
"user": {
"id": 277,
"admin": false,
"image": null,
"referral_code": "403587",
"title": "Gwendolyn Skiles"
}
},
{
"id": 2,
"created_at": "2025-03-20T10:01:51.926Z",
"reason": "Fugiat ipsum itaque doloribus.",
"status": "pending",
"user": {
"id": 278,
"admin": false,
"image": null,
"referral_code": "579842",
"title": "Olen Williamson"
}
},
{
"id": 3,
"created_at": "2025-03-20T10:01:51.943Z",
"reason": "Vel iusto illo omnis.",
"status": "pending",
"user": {
"id": 279,
"admin": false,
"image": null,
"referral_code": "620255",
"title": "Clinton Hodkiewicz"
}
}
]
}