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.eyJzdWIiOiIyNzMiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3Mzc1NTE1NTcsImV4cCI6MTc0MDE0MzU1NywianRpIjoiOWY5N2ViZTYtNDcwOS00ZjY1LTg0YzEtMmU3NWJlMmI0NmU3In0.7oRq0I9HINtAqDqdwBdkixWZjYUWFVCm3yA6AG6A9wM
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/"f30d70edd6b5637a6eea4aee66f1a338"
cache-control: max-age=0, private, must-revalidate
x-request-id: 314dbff0-dac6-48c2-8b6c-2fa95b4aadf0
x-runtime: 0.030566
content-length: 621
Body
{
"delete_requests": [
{
"id": 1,
"created_at": "2025-01-22T13:12:37.054Z",
"reason": "Rerum non possimus quia.",
"status": "pending",
"user": {
"id": 270,
"admin": false,
"image": null,
"referral_code": "013562",
"title": "Eldon Waters"
}
},
{
"id": 2,
"created_at": "2025-01-22T13:12:37.064Z",
"reason": "Dicta voluptates quisquam qui.",
"status": "pending",
"user": {
"id": 271,
"admin": false,
"image": null,
"referral_code": "412433",
"title": "Solange Leffler"
}
},
{
"id": 3,
"created_at": "2025-01-22T13:12:37.074Z",
"reason": "Quam dolores quos qui.",
"status": "pending",
"user": {
"id": 272,
"admin": false,
"image": null,
"referral_code": "946463",
"title": "Kirby Reichert"
}
}
]
}