Confirm delete request
Delete Requests
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.eyJzdWIiOiIyODciLCJzY3AiOiJ1c2VyIiwiYXVkIjpudWxsLCJpYXQiOjE3NTMyNjYxNzYsImV4cCI6MTc1NTg1ODE3NiwianRpIjoiNmMzNWM1M2UtNGQ1NC00MTY1LThhMTktZmQyNjhlMzQ0YjA5In0.0t1GWMcJbANE-zW0RqSA6Lp-FRh6RZ483KBHqlJQ7YQ
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/"e8a647a05eac97c2d731df123c6a1cfa"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9397883f-c741-4a4b-8c3d-8bb38df79f2d
x-runtime: 0.019471
content-length: 196
Body
{
"delete_request": {
"id": 286,
"email": "heidi.emmerich+driver@example.com",
"first_name": "Heidi",
"last_name": "Emmerich",
"phone_number": null,
"profile_id": null,
"referral_code": "663488",
"role": "driver"
}
}