AVAILABLE WITH BUSINESS SUBSCRIPTION
Request: POST /users/find_existing
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, or custom roles.
Department Administrators and users with a custom role can get lists of the existing users belonging to the departments they manage or their daughter departments.
Header | Description |
---|
Authorization (required) | Access token. You can obtain a token by making a request. |
Parameter | Description |
---|
userIds (required) | The IDs of users you want to find. You must enter at least two user IDs. |
Response Parameters
Parameter | Description |
---|
userIds | An array of user IDs that exist in the system. |
Response Codes
Code | Text | Description |
---|
200 | Successful operation | The request has been successfully processed. |
400 | Bad Request | A request error. |
401 | Unauthorized | An authorization error. |
403 | Permission Denied | The user doesn't have enough permissions to retrieve a list of users. |
Sample Request
POST /users/find_existing
Host: api-learn.ispringlearn.com
Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE
<?xml version="1.0" encoding="UTF-8"?>
<request>
<userIds>f738730a-f39e-11eb-bf6e-0242ac130033</userIds>
<userIds>4cb0704f-3afd-11ec-852c-0242ac130005</userIds> // deleted user
</request>
XML
Sample Response
HTTP/1.1 200 OK
Connection: close
<?xml version="1.0" encoding="UTF-8"?>
<response>
<id>f738730a-f39e-11eb-bf6e-0242ac130033</id>
</response>
XML