Create delete request by current operator
Delete Requests
POST create delete request
Endpoint
POST /api/v1/delete_requests
Parameters
Name | Description |
---|---|
delete_request[reason] required | Delete request reason |
Request
Route
POST /api/v1/delete_requests
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyODQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzgsImV4cCI6MTc2MzU0MjQzOCwianRpIjoiYzYwYzcwNzYtMGE0NS00ZjNhLWIyMjgtNzE4YjgwODk3ZDE3In0.cG9UUySndVUGb_r5FNqZoK6Stm6_zmgs15g8b0miE5M
Host: example.org
Cookie:
Body
{
"delete_request": {
"reason": "Consequuntur temporibus qui dolorem."
}
}
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/"88f3de83fc7dd21b92a9166fd12a7522"
cache-control: max-age=0, private, must-revalidate
x-request-id: 71e5deae-a659-47b0-94a8-ae751d48a2b5
x-runtime: 0.008399
content-length: 233
Body
{
"delete_request": {
"id": 6,
"created_at": "2025-10-20T08:53:58.674Z",
"reason": "Consequuntur temporibus qui dolorem.",
"status": "pending",
"user": {
"id": 284,
"admin": false,
"contact_phone_number": null,
"image": null,
"title": "Shemika Ruecker"
}
}
}