AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: DELETE /user/{user_id}

Permissions to Run the Request

Account Owner, Account Administrators, Department Administrators, or custom roles

Department Administrators and users with a custom role can delete users belonging to the departments they manage and their sub-departments.


Request Headers

ParameterDescription
X-Auth-Account-Url (required)The base URL of the account, e.g. https://myaccount.ispringlearn.com
X-Auth-Email (required)The login of Account Owner, Account Administrator, Department Administrator, or a user with a custom role
X-Auth-Password (required)The password of Account Owner, Account AdministratorDepartment Administrator, or a user with a custom role


Possible Response Codes

CodeTextDescription
204OKA user is deleted.
400Bad RequestA request error.
401UnauthorizedAuthorization error.
403Permission DeniedThe user doesn't have enough permissions to delete another users.

Sample Request

DELETE /user/f29d887c-5cff-11e9-9e6a-0a580af40692 https/1.1
Host: api-learn.ispringlearn.com
X-Auth-Account-Url: https://myaccount.ispringlearn.com
X-Auth-Email: email@email.com
X-Auth-Password: password
XML

Sample Response

https/1.1 204 OK
XML