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.eyJzdWIiOiIyODQiLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NDI0NjQ5MTIsImV4cCI6MTc0NTA1NjkxMiwianRpIjoiOTBiYmU3ZTktZmQyZC00ZDEyLTg5MjQtYTA5ODZhYmE4ZmU0In0.yr9UDUOCnE3208mlKqKcOsIVlhSecP7ycF_eDBOefNE
Host: example.org
Cookie: 

Body

{
  "delete_request": {
    "reason": "Nesciunt molestiae odio quidem."
  }
}

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/"e6f19e9ce412b85975703fb181cab625"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7df80294-feec-4b42-a807-ac443eb48018
x-runtime: 0.012165
content-length: 222

Body

{
  "delete_request": {
    "id": 6,
    "created_at": "2025-03-20T10:01:52.049Z",
    "reason": "Nesciunt molestiae odio quidem.",
    "status": "pending",
    "user": {
      "id": 284,
      "admin": false,
      "contact_phone_number": null,
      "image": null,
      "title": "Tom Boyer"
    }
  }
}