User Management
Get User Groups
GET
https://[customer].testresults.io/api/management/customers/current
Gets User Groups.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Create new User Group
POST
https://[customer].testresults.io/api/management/customers/current/groups
Creates new User Group.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Name | string | Group Name |
Description | string | Group Description |
UsagePermission | string | List of permissions (at least one), comma separated(e.g "Login, Read, Write"...etc) |
Update User Group
PUT
https://[customer].testresults.io/api/management/customers/current/groups/:gId
Updates an existing User Group.
Path Parameters
Name | Type | Description |
---|---|---|
gId | string | Group ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
Name | string | Group Name |
Description | string | Group Description |
UsagePermission | string | List of permissions, comma separated (e.g "Login, Read, Write"...etc) |
Delete User Group
DELETE
https://[customer].testresults.io/api/management/customers/current/groups/:gId
Deletes User Group.
Path Parameters
Name | Type | Description |
---|---|---|
gId | string | Group ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Get Users
GET
https://[customer].testresults.io/api/management/customers/current/groups/:gId/users
Gets all Users for the selected Group.
Path Parameters
Name | Type | Description |
---|---|---|
gId | string | Group ID |
Create new User
POST
https://[customer].testresults.io/api/users
Creates new User.
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
DisplayName | string | User Display Name |
string | User Email | |
UserGroup | object | User Group |
Id | string | User Group ID. The field of UserGroup object (e.g UsserGroup: { Id: { user_group_ID } }) |
Update User
PUT
https://[customer].testresults.io/api/users/:uId
Updates an existing User.
Path Parameters
Name | Type | Description |
---|---|---|
uId | string | User ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Request Body
Name | Type | Description |
---|---|---|
UserData | object | User Data container. (!) All subsequent fields are fields of UserData object. The request payload example: { UserData: { DisplayName: 'user_display_name', Email: 'user_email', UserGroup: { Id: 'user_group_ID' } } } |
DisplayName | string | User Display Name. The field of UserData object (e.g UserData: { DisplayName: user_display_name }) |
string | User Email. The field of UserData object (e.g UserData: { Email: user_email }) | |
UserGroup | object | User Group. The field of UserData object (e.g UserData: { UserGroup: { ... } }) |
Id | string | User Group ID. The field of UserGroup object (e.g UserGroup: { Id: user_group_ID }) |
Delete User
DELETE
https://[customer].testresults.io/api/users/:uId
Delete User.
Path Parameters
Name | Type | Description |
---|---|---|
uId | string | User ID |
Headers
Name | Type | Description |
---|---|---|
Authentication | string | Authentication token |
Last updated