Delete Requests

Create delete request by current operator

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.eyJzdWIiOiIyOTQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjcsImV4cCI6MTc2NjIxODM2NywianRpIjoiZDZmZDEwMzMtMThiYy00N2U2LThmM2EtMjgxNDhhNDg1NWYwIn0.2dzOUJDMgDcEIhsDb63qRzsZUY9aq0Ko2Y2GMOc5wQ0
Host: example.org
Cookie: 

Body

{
  "delete_request": {
    "reason": "Excepturi omnis occaecati eum."
  }
}

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/"efc48fa98d468e05a135adca0e22f773"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1730db1d-dbaf-47b1-a569-af4899c8fa6f
x-runtime: 0.008289
content-length: 224

Body

{
  "delete_request": {
    "id": 6,
    "created_at": "2025-11-20T08:12:47.465Z",
    "reason": "Excepturi omnis occaecati eum.",
    "status": "pending",
    "user": {
      "id": 294,
      "admin": false,
      "contact_phone_number": null,
      "image": null,
      "title": "Eddy Tillman"
    }
  }
}