- Users - Retrieving, creating, and deleting users
- Permissions - Retrieving, creating, and deleting roles, teams, and permissions
- Proxy - Retrieving, creating, and deleting proxy assignments
Denotes an optional parameter.
The following provides for the retrieval, creation, edit, and deletion of users
Denotes an optional parameter.
The following provides for the retrieval, creation, edit, and deletion of permissions
Resource | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GET /roles/:user_id |
ActionRetrieve data of an individual role in the requesting user's billing group. Permission:eeg_cloud, users, view |
||||||||||
GET /roles |
ActionRetrieve a list of all roles in the requesting user's billing group. Permission:eeg_cloud, users, view |
||||||||||
POST /roles |
ActionCreate a role in the requesting user's billing group. Permission:eeg_cloud, users, addParameters (JSON)
|
||||||||||
PUT /roles/:role_id |
ActionUpdate a role in the requesting user's billing group with new name and new permissions. Permission:eeg_cloud, users, editParameters (Path)
Parameters (JSON)
|
||||||||||
DELETE /roles/:role_id |
ActionDelete a role in the requesting user's billing group. Permission:eeg_cloud, users, deleteParameters (Path)
|
||||||||||
GET /teams |
ActionRetrieve a list of all teams in the requesting user's billing group. Permission:eeg_cloud, users, view |
expand_roles | If set to 0 or omitted, the response will omit roles data. If set to 1 the response will include role data for the role associated with each returned team, including the role name and the assigned permissions. The API will return a BAD REQUEST error for any value other than 1 or 0. |
Create a team in the requesting user's billing group. A user can belong to only one role or team at a time. If the user is currently assigned to a team the user will be removed from the current team and added to the new team.
name (string) | the name of the role |
role (string) | the role ID of the team's role |
targets (string[]) | list of target billing groups to assign to the group |
users (string[]) | list of email addresses for users to assign to the group |
Retrieve data of an individual team in the requesting user's billing group.
:team_id | ID of the team to retrieve |
Update data of a team in the requesting user's billing group.
:team_id | ID of the team to retrieve |
name (string) | the name of the role |
role (string) | the role ID of the team's role |
targets (string[]) | list of target billing groups to assign to the group |
users (string[]) | list of email addresses of users to assign to the group |
Delete a team in the requesting user's billing group.
:team_id | ID of the team to delete |
Retrieve the data of the requesting user and the billing group profile data of the requesting user.
Update the profile data of the requesting user's billing group.
organization (string) | the name of the organization |
custom_timeout (number) | the number value of seconds for login timeout |
Denotes an optional parameter.
The following provides for the retrieval, creation, edit, and deletion of proxy assignments
Resource | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GET /proxy/source |
ActionRetrieve the requesting user's billing group's proxy configuration, including its target groups, and user target assignments. Permission:none |
||||||||||
POST /proxy/target_assignment |
ActionCreate a user proxy assignment for a user in the requesting user's billing group. Permission:eeg_cloud, users, addParameters (JSON)
|
||||||||||
PUT /proxy/target_assignment/:user_id |
ActionUpdate a proxy assignment in the requesting user's billing group. Permission:eeg_cloud, users, editParameters (Path)
Parameters (JSON)
| ||||||||||
DELETE /proxy/target_assignment/:user_id/target_delete/:target_delete |
ActionDelete a proxy assignment in the requesting user's billing group. Permission:eeg_cloud, users, deleteParameters (Path)
|
Denotes an optional parameter.