Delete User
curl --request DELETE \
--url https://api.winwinkit.com/users/{app_user_id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/users/{app_user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}Users
Delete User
Permanently deletes a user along with their rewards, claimed codes and transactions. This cannot be undone. Note: this endpoint is only accessible with a secret API key.
DELETE
/
users
/
{app_user_id}
Delete User
curl --request DELETE \
--url https://api.winwinkit.com/users/{app_user_id} \
--header 'x-api-key: <x-api-key>'const options = {method: 'DELETE', headers: {'x-api-key': '<x-api-key>'}};
fetch('https://api.winwinkit.com/users/{app_user_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}{
"errors": [
{
"code": "<string>",
"status": 123,
"message": "<string>",
"source": "<string>"
}
]
}