Reject delete request
Delete Requests
POST reject delete request
Endpoint
POST /api/v1/delete_requests/:id/reject
Request
Route
POST /api/v1/delete_requests/10/reject
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyOTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTIsImV4cCI6MTc0NTA1NjkxMiwianRpIjoiNjFhNGUxYTgtZjFjZi00ZDY0LTk3OWUtYmU1NzBmZjkxYTc2In0.pLpDq3VpSPzTpzm-c9cuZ1Fqnplva227lIauRYmJ8dI
Host: example.org
Cookie:
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
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"151f2fb9aeaac9103da14e5835e04592"
cache-control: max-age=0, private, must-revalidate
x-request-id: 5bd78f6a-5e99-4ce3-94b6-03b3f91b5082
x-runtime: 0.026783
content-length: 219
Body
{
"delete_request": {
"id": 10,
"created_at": "2025-03-20T10:01:52.226Z",
"reason": "Et aperiam ullam aut.",
"status": "rejected",
"user": {
"id": 293,
"admin": false,
"image": null,
"referral_code": "198983",
"title": "Annamarie Abshire"
}
}
}