Delete Requests

Confirm delete request

POST confirm delete request

Endpoint

POST /api/v1/delete_requests/:id/confirm

Request

Route

POST /api/v1/delete_requests/7/confirm

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIyODciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjA5NTA0MzgsImV4cCI6MTc2MzU0MjQzOCwianRpIjoiYjZmYzEzMzItMTZjOC00M2U4LTg3ODItYTA2ZDgyZGQyY2EyIn0.MNKzV8xTuz518Yfwpz3kAkDK03SYFf3OHlgiFipPEDs
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/"7fd00cea0560d7e6708aedf5219e1d38"
cache-control: max-age=0, private, must-revalidate
x-request-id: dec7ac3f-e328-4baa-9298-af1c2935b75c
x-runtime: 0.016658
content-length: 196

Body

{
  "delete_request": {
    "id": 286,
    "email": "lillia.labadie+driver@example.com",
    "first_name": "Lillia",
    "last_name": "Labadie",
    "phone_number": null,
    "profile_id": null,
    "referral_code": "687232",
    "role": "driver"
  }
}