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.eyJzdWIiOiIyOTciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NjM2MjYzNjcsImV4cCI6MTc2NjIxODM2NywianRpIjoiNTEwYjEyMjktZWJlOC00MWM4LWI1YmEtYjlmYmI0ZjU0MmIwIn0.ilL309cMqjGMgAusYMEn1HvT7N4monPjQza_bCfxYdk
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/"7f20db33d7da960c19b055fa76d38880"
cache-control: max-age=0, private, must-revalidate
x-request-id: 60b1fe83-23aa-4813-b5a0-269cf631d3b1
x-runtime: 0.016976
content-length: 224

Body

{
  "delete_request": {
    "id": 296,
    "email": "alexis.koelpin+driver@example.com",
    "financial_company_id": null,
    "first_name": "Alexis",
    "last_name": "Koelpin",
    "phone_number": null,
    "profile_id": null,
    "referral_code": "974818",
    "role": "driver"
  }
}