DELETE
/
users
/
{userId}
curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
    "status": 404,
    "message": "Not found"
}

Permanently delete a user account.

Request Headers

X-API-KEY
string
required

API Key. Go to your Konstantly site > Settings > API and copy the value from there.

URL Parameters

userId
string
required

User API ID

Response

On success, returns HTTP 200 status code.

Error Responses

404
object

Not Found error response

422
object

Unprocessable Entity error response

curl --request DELETE \
--url 'https://YOURSITE.konstant.ly/openapi/v1/users/1234567890' \
--header 'X-API-KEY: 1qaz2wsx3edc4rfv1qaz2wsx3edc4rfv'
{
    "status": 404,
    "message": "Not found"
}