Request: POST /users/terminate
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can set up a multiple end of employment for the users belonging to the departments they manage and their sub-departments.
Request Headers
Header | Description |
|---|---|
| Authorization (required) | Access token. You can obtain a token by making a request. |
| Parameter | Description |
| userIds (required) | The ID of the users whom you want to set up a multiple end of employment. |
Possible Response Codes
Code | Text | Description |
|---|---|---|
| 200 | OK | A user's status is changed. |
| 400 | Bad Request | A request error. |
| 401 | Unauthorized | An authorization error. |
| 403 | Permission Denied | A user does not have enough permissions to handle the request. |
Sample Request
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
Content-Type:application/xml
<request>
<userIds>f5bafbba-c7eb-11ed-a327-0242ac12004e</userIds>
<userIds> 76a38028-c8b7-11ed-a616-0242ac15004f</userIds>
</request>
Sample Response
https/1.1 200 OK