Page tree
Skip to end of metadata
Go to start of metadata

You can delete a user with the DELETE request to the following URL: /user/<user_id>.

Request Headers

ParameterDescription
X-Auth-Account-Url (required)Base URL of the account, e.g. http://myaccount.ispringlearn.com
X-Auth-Email (required)Administrator/Publisher e-mail address.
X-Auth-Password (required)Administrator/Publisher password.

When a request is processed successfully, the system returns code 204.

Possible Response Codes

CodeTextDescription
403Permission deniedYou have no permissions to delete the specified user.
204No ContentThe specified user has been deleted.

 

Sample Request

DELETE /user/1 HTTP/1.1
Host: api.ispringonline.com
X
-Auth-Account-Url: http://myaccount.ispringonline.com
X
-Auth-Email: email@email.com
X
-Auth-Password: password

Sample Response

HTTP/1.1 204 No Content
Server: nginx
Connection: close
  •