All URIs are relative to https://apitest.cybersource.com
Method | HTTP request | Description |
---|---|---|
getUsers | GET /ums/v1/users | Get user based on organization Id, username, permission and role |
UmsV1UsersGet200Response getUsers(opts)
Get user based on organization Id, username, permission and role
This endpoint is to get all the user information depending on the filter criteria passed in the query.
var CyberSource = require('CyberSource');
var apiInstance = new CyberSource.UserManagementApi();
var opts = {
'organizationId': "organizationId_example", // String | This is the orgId of the organization which the user belongs to.
'userName': "userName_example", // String | User ID of the user you want to get details on.
'permissionId': "permissionId_example", // String | permission that you are trying to search user on.
'roleId': "roleId_example" // String | role of the user you are trying to search on.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.getUsers(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
organizationId | String | This is the orgId of the organization which the user belongs to. | [optional] |
userName | String | User ID of the user you want to get details on. | [optional] |
permissionId | String | permission that you are trying to search user on. | [optional] |
roleId | String | role of the user you are trying to search on. | [optional] |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8