Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 ID of the users whom you want to set up a multiple end of employment.

Possible Response Codes

Code

Text

Description

200OKA user's status is changed.
400Bad RequestA request error.
401UnauthorizedAn authorization error.
403Permission DeniedA user does not have enough permissions to handle the request.

Sample Request

Code Block
languagexml
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>

...