AVAILABLE WITH BUSINESS SUBSCRIPTION

Request: DELETE /user/{userId}/scheduled_deactivation

Permissions to Run the Request

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

Department Administrators and users with a custom role may cancel automatic blocking 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 automatic blocking you want to cancel.

Possible Response Codes

Code

Text

Description

200OKA user's status is changed.
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_deactivation https/1.1
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE 
Content-Type:application/xml
XML

Sample Response

https/1.1 200 OK
XML