DELETE /user.json
Description: Deletes a user account.
API Endpoint URL: https://api.improvely.com/v1/user.json
Attribute | Required | Default | Description |
---|---|---|---|
key | Your API key | ||
id | The ID number of the user to delete. | ||
The e-mail address of the user to delete. |
Note: Either id
or email
must be provided to identify which user to delete.
Example request:
curl https://api.improvely.com/v1/user.json \ -X DELETE \ -d 'key=90c0d64fds653338as6869e54267e05&email=dan@awio.com'
Example successful response (HTTP status code 200):
{ "status": "success" }
Example failure response (HTTP status code: 400):
{ "status": "error", "type": "parameters", "message": "Missing parameter: either `id` or `email` must be provided." }