Request: DELETE /user/{userId}/scheduled_termination
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role may cancel scheduled end of employment only for users belonging to the departments they manage or their daughter departments.
Request Headers
Header | Description |
|---|---|
| Authorization (required) | Access token. You can obtain a token by making a request. |
| Parameter | Description |
| user_id (required) | The ID of a user whose scheduled end of employment you want to cancel. |
Possible Response Codes
Code | Text | Description |
|---|---|---|
| 200 | OK | The scheduled end of employment of a user is canceled. |
| 400 | Bad Request | A request error. |
| 401 | Unauthorized | An authorization error. |
| 403 | Permission Denied | The user doesn't have enough permissions. |
Sample Request
DELETE /user/43f4a84c-6280-11e9-8686-a6210366ac32/scheduled_termination https/1.1 Host: api-learn.ispringlearn.com Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE Content-Type:application/xml
Sample Response
https/1.1 200 OK