AVAILABLE WITH BUSINESS SUBSCRIPTION

RequestDELETE /users/work-leave-status

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
ParameterDescription
userIds (required)The IDs of users whose work leave statuses you want to delete

Possible Response Codes

Code

Text

Description

200OKA user's work leave status was deleted
400Bad RequestA request error
401UnauthorizedAn authorization error
403Permission DeniedA user does not have enough permissions to handle the request

Sample Request

@Delete("/users/work-leave-status")
<request>
    <userIds>f5bafbba-c7eb-11ed-a327-0242ac12004e</userIds>
    <userIds> 76a38028-c8b7-11ed-a616-0242ac15004f</userIds>
</request>
XML

Sample Response

https/1.1 200 OK
XML