You can delete a user with the DELETE request to the following URL: /user/<user_id>.
Parameter | Description |
---|---|
X-Auth-Account-Url (required) | Base URL of the account, e.g. http://myaccount.ispringlearn.com |
X-Auth-Email (required) | Adminstrator e-mail address. |
X-Auth-Password (required) | Administrator password. |
When a request is processed successfully, the system returns code 204.
Code | Text | Description |
---|---|---|
404 | Unknown user | User with the specified ID was not found. |
403 | Permission denied | You have no permissions to delete the specified user. |
204 | No Content | The specified user has been deleted. |
DELETE /user/1 HTTP/1.1 Host: api.ispringonline.com X-Auth-Account-Url: http://myaccount.ispringlearn.com X-Auth-Email: email@email.com X-Auth-Password: password |
HTTP/1.1 204 No Content Connection: close |