Download OpenAPI specification:
Returns the user entity corresponding to the requesting user.
fields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
excludeFields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
Validates a password against the password policy.
Use this endpoint for validating a password when changing your own password.
password required | string |
{- "password": "string"
}
{- "error": "string"
}
Changes the password for the calling user.
currentPassword required | string |
newPassword required | string |
{- "currentPassword": "string",
- "newPassword": "string"
}
{- "msg": "string"
}
Queries current user instances
filter[_id][EQ] | string |
filter[_id][IN] | Array of strings |
filter[userName][EQ] | string |
filter[userName][CO] | string |
filter[displayName][EQ] | string |
filter[displayName][CO] | string |
filter[email][EQ] | string |
filter[email][CO] | string |
filter[active][EQ] | boolean |
filter[externalId][PR] | boolean |
filter[system][EQ] | boolean |
filter[invitationPending][EQ] | boolean |
filter[temporarilyLocked][EQ] | boolean |
filter[deleted][EQ] | string (userDeletedQueryOption) Enum: "deletedOnly" "notDeletedOnly" "all" |
filter[deleted][LT] | string <date-time> |
filter[deleted][GT] | string <date-time> |
filter[_created][LT] | string <date-time> |
filter[_created][GT] | string <date-time> |
filter[_modified][LT] | string <date-time> |
filter[_modified][GT] | string <date-time> |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "userName" "-userName" "displayName" "-displayName" "_created" "-_created" "_modified" "-_modified" |
fields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
excludeFields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
{- "totalCount": 0,
- "data": [
- {
- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
]
}
Creates a new user entity.
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
externalId | string |
system | boolean |
userName | string |
displayName | string |
active | boolean |
inactiveReason | string Enum: "manual" "tooManyFailedLogons" "externalAccountDisabled" |
string | |
unixHomeDirectory | string |
unixUserName | string |
userPrincipalName | string |
invitationPending | boolean |
invitationExpiry | string <date-time> |
deleted | string <date-time> |
temporarilyLocked | boolean |
password required | string |
mustChange | boolean |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true,
- "password": "string",
- "mustChange": true
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
Returns a specific user by unique ID
userId required | string Internal unique ID of the user |
fields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
excludeFields | Array of strings (userField) Items Enum: "_id" "_created" "_modified" "externalId" "userName" "displayName" "active" "email" "unixHomeDirectory" "unixUserName" "userPrincipalName" "invitationPending" "deleted" |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
Updates the definition of a user
userId required | string Internal unique ID of the user |
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
externalId | string |
system | boolean |
userName | string |
displayName | string |
active | boolean |
inactiveReason | string Enum: "manual" "tooManyFailedLogons" "externalAccountDisabled" |
string | |
unixHomeDirectory | string |
unixUserName | string |
userPrincipalName | string |
invitationPending | boolean |
invitationExpiry | string <date-time> |
deleted | string <date-time> |
temporarilyLocked | boolean |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
Updates the definition of a user using JSON Patch.
userId required | string Internal unique ID of the user |
op required | string Enum: "add" "remove" "replace" The operation to be performed |
path required | string A JSON-Pointer |
value | any The value to be used within the operations. |
[- {
- "op": "add",
- "path": "string",
- "value": null
}
]
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "userName": "string",
- "displayName": "string",
- "active": true,
- "inactiveReason": "manual",
- "email": "string",
- "unixHomeDirectory": "string",
- "unixUserName": "string",
- "userPrincipalName": "string",
- "invitationPending": true,
- "invitationExpiry": "2019-08-24T14:15:22Z",
- "deleted": "2019-08-24T14:15:22Z",
- "temporarilyLocked": true
}
Returns the list of groups of which the user is a member
userId required | string Internal unique ID of the user |
filter[membershipType][EQ] | string (membershipType) Enum: "direct" "indirect" |
[- {
- "membershipType": "direct",
- "id": "string",
- "name": "string"
}
]
Returns a structure containing the operating system user information for the user.
userId required | string Internal unique ID of the user |
{- "userName": "string",
- "userPrincipalName": "string",
- "unixHomeDirectory": "string"
}
Sets the password for the user.
userId required | string Internal unique ID of the user |
password required | string |
mustChange | boolean |
{- "password": "string",
- "mustChange": true
}
{- "msg": "string"
}
Validates a password against the password policy.
Use this endpoint for validating a password when an administrator is setting the password for a user.
userId required | string Internal unique ID of the user |
password required | string |
{- "password": "string"
}
{- "error": "string"
}
Clears the logon failure history for the given user.
This will have the effect of removing any temporary lockout that might exist
on the user, but will not remove any permanent lock that might have been added
as a result of logon failures.
userId required | string Internal unique ID of the user |
Queries current group instances
filter[_id][EQ] | string |
filter[_id][IN] | Array of strings |
filter[name][EQ] | string |
filter[name][CO] | string |
filter[externalId][PR] | boolean |
filter[_created][LT] | string <date-time> |
filter[_created][GT] | string <date-time> |
filter[_modified][LT] | string <date-time> |
filter[_modified][GT] | string <date-time> |
filter[system][EQ] | boolean |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "name" "-name" "_created" "-_created" "_modified" "-_modified" |
fields | Array of strings (groupField) Items Enum: "_id" "_created" "_modified" "externalId" "name" |
excludeFields | Array of strings (groupField) Items Enum: "_id" "_created" "_modified" "externalId" "name" |
{- "totalCount": 0,
- "data": [
- {
- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
]
}
Creates a new group entity.
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
externalId | string |
system | boolean |
name | string |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
Returns a specific group by unique ID
groupId required | string Internal unique ID of the group |
fields | Array of strings (groupField) Items Enum: "_id" "_created" "_modified" "externalId" "name" |
excludeFields | Array of strings (groupField) Items Enum: "_id" "_created" "_modified" "externalId" "name" |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
Replaces the definition of a group
groupId required | string Internal unique ID of the group |
_id | string |
_created | string <date-time> |
_modified | string <date-time> |
externalId | string |
system | boolean |
name | string |
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
Updates the definition of a group using JSON Patch.
groupId required | string Internal unique ID of the group |
op required | string Enum: "add" "remove" "replace" The operation to be performed |
path required | string A JSON-Pointer |
value | any The value to be used within the operations. |
[- {
- "op": "add",
- "path": "string",
- "value": null
}
]
{- "_id": "string",
- "_created": "2019-08-24T14:15:22Z",
- "_modified": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "system": true,
- "name": "string"
}
Returns the list of members of the group.
groupId required | string Internal unique ID of the group |
filter[membershipType][EQ] | string (membershipType) Enum: "direct" "indirect" |
filter[principalType][EQ] | string (principalType) Enum: "User" "Group" |
[- {
- "membershipType": "direct",
- "principalType": "User",
- "id": "string",
- "name": "string"
}
]
Modifies the group membership list
groupId required | string Internal unique ID of the group |
op required | string Enum: "add" "remove" |
id | string |
principalType | string (principalType) Enum: "User" "Group" |
name | string |
[- {
- "op": "add",
- "id": "string",
- "principalType": "User",
- "name": "string"
}
]
{- "msg": "string"
}
Returns the list of groups that a group is a member of.
groupId required | string Internal unique ID of the group |
filter[membershipType][EQ] | string (membershipType) Enum: "direct" "indirect" |
[- {
- "membershipType": "direct",
- "id": "string",
- "name": "string"
}
]
Queries current principal instances
filter[_id][EQ] | string |
filter[_id][IN] | Array of strings |
filter[_type][EQ] | string (principalType) Enum: "User" "Group" |
filter[displayName][EQ] | string |
filter[displayName][CO] | string |
filter[displayName][SW] | string |
filter[external][EQ] | boolean |
filter[system][EQ] | boolean |
filter[deleted][EQ] | string (userDeletedQueryOption) Enum: "deletedOnly" "notDeletedOnly" "all" Only applicable when querying users |
filter[deleted][LT] | string <date-time> Only applicable when querying users |
filter[deleted][GT] | string <date-time> Only applicable when querying users |
page[offset] | integer |
page[limit] | integer |
sort | string Enum: "displayName" "-displayName" |
{- "totalCount": 0,
- "data": [
- {
- "_type": "User",
- "_id": "string",
- "displayName": "string",
- "name": "string",
- "external": true,
- "system": true
}
]
}
Returns the list of groups that a principal is a member of
principalId required | string |
filter[membershipType][EQ] | string (membershipType) Enum: "direct" "indirect" |
[- {
- "membershipType": "direct",
- "id": "string",
- "name": "string"
}
]
token required | string |
displayName required | string |
userName required | string |
password | string |
jwtSubject | string |
{- "token": "string",
- "displayName": "string",
- "userName": "string",
- "password": "string",
- "jwtSubject": "string"
}
token required | string |
userName required | string |
{- "token": "string",
- "userName": "string"
}
{- "available": true
}
Changes the password for the given user
currentPassword required | string |
newPassword required | string |
username required | string |
{- "currentPassword": "string",
- "newPassword": "string",
- "username": "string"
}
{- "msg": "string"
}
Validates a password against the password policy.
Use this endpoint for validating a password when creating a new user
password required | string |
username | string |
displayName | string |
string |
{- "password": "string",
- "username": "string",
- "displayName": "string",
- "email": "string"
}
{- "error": "string"
}
Performs password-based login.
username required | string |
password required | string |
{- "username": "string",
- "password": "string"
}
{- "token": "string",
- "expiresIn": 0
}
Generates a login token for a different user.
userId required | string |
{- "userId": "string"
}
{- "token": "string",
- "expiresIn": 0
}