AVAILABLE WITH BUSINESS SUBSCRIPTION

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.
ParameterDescription
user_id (required)The ID of a user whose scheduled end of employment you want to cancel.

Possible Response Codes

Code

Text

Description

200OKThe scheduled end of employment of a user is canceled.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission DeniedThe 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
XML

Sample Response

https/1.1 200 OK
XML