Delete the currently authenticated user

POST /user/delete

Request

Authentication

This endpoint requires authentication.

Header Value
Authorization Set the value to Bearer + + access_token

Body

Pass the following properties via application/json or form encoding in the body of the request.

A dictionary with fields

Field Type Description
firstname String A String value
lastname String A String value

Example request 1

POST /user/delete HTTP/1.1
Host: api.bakeronline.be
X-VERSION: 1.9.0
Accept-Language: en-US,en;q=0.5
Content-Type: application/json
Content-Length: 49
{
    "firstname": "...",
    "lastname": "..."
}

Response

Example response 1

HTTP/1.1 200 OK
1.9.0 stable