You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Account.md
+3
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,9 @@ Name | Type | Description | Notes
6
6
**groups** | **list[str]** | The list of account's permissions. | [optional]
7
7
**identifier** | **str** | The unique identifier of an account. |
8
8
**ingestion_policy_id** | **str** | The identifier of the ingestion policy linked with account. | [optional]
9
+
**roles** | **list[str]** | The list of account's roles. | [optional]
10
+
**united_permissions** | **list[str]** | The list of account's permissions assigned directly or through united roles assigned to it | [optional]
11
+
**united_roles** | **list[str]** | The list of account's roles assigned directly or through user groups assigned to it | [optional]
9
12
**user_groups** | **list[str]** | The list of account's user groups. | [optional]
10
13
11
14
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/AccountUserAndServiceAccountApi.md
+120-6
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ All URIs are relative to *https://YOUR_INSTANCE.wavefront.com*
5
5
Method | HTTP request | Description
6
6
------------- | ------------- | -------------
7
7
[**activate_account**](AccountUserAndServiceAccountApi.md#activate_account) | **POST** /api/v2/account/serviceaccount/{id}/activate | Activates the given service account
8
+
[**add_account_to_roles**](AccountUserAndServiceAccountApi.md#add_account_to_roles) | **POST** /api/v2/account/{id}/addRoles | Adds specific roles to the account (user or service account)
8
9
[**add_account_to_user_groups**](AccountUserAndServiceAccountApi.md#add_account_to_user_groups) | **POST** /api/v2/account/{id}/addUserGroups | Adds specific user groups to the account (user or service account)
9
10
[**add_ingestion_policy**](AccountUserAndServiceAccountApi.md#add_ingestion_policy) | **POST** /api/v2/account/addingestionpolicy | Add a specific ingestion policy to multiple accounts
10
11
[**create_or_update_user_account**](AccountUserAndServiceAccountApi.md#create_or_update_user_account) | **POST** /api/v2/account/user | Creates or updates a user account
[**grant_account_permission**](AccountUserAndServiceAccountApi.md#grant_account_permission) | **POST** /api/v2/account/{id}/grant/{permission} | Grants a specific permission to account (user or service account)
23
24
[**grant_permission_to_accounts**](AccountUserAndServiceAccountApi.md#grant_permission_to_accounts) | **POST** /api/v2/account/grant/{permission} | Grants a specific permission to multiple accounts (users or service accounts)
24
25
[**invite_user_accounts**](AccountUserAndServiceAccountApi.md#invite_user_accounts) | **POST** /api/v2/account/user/invite | Invite user accounts with given user groups and permissions.
26
+
[**remove_account_from_roles**](AccountUserAndServiceAccountApi.md#remove_account_from_roles) | **POST** /api/v2/account/{id}/removeRoles | Removes specific roles from the account (user or service account)
25
27
[**remove_account_from_user_groups**](AccountUserAndServiceAccountApi.md#remove_account_from_user_groups) | **POST** /api/v2/account/{id}/removeUserGroups | Removes specific user groups from the account (user or service account)
[**revoke_account_permission**](AccountUserAndServiceAccountApi.md#revoke_account_permission) | **POST** /api/v2/account/{id}/revoke/{permission} | Revokes a specific permission from account (user or service account)
@@ -85,6 +87,62 @@ Name | Type | Description | Notes
85
87
86
88
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
87
89
90
+
# **add_account_to_roles**
91
+
> UserModel add_account_to_roles(id, body=body)
92
+
93
+
Adds specific roles to the account (user or service account)
94
+
95
+
96
+
97
+
### Example
98
+
```python
99
+
from__future__import print_function
100
+
import time
101
+
import wavefront_api_client
102
+
from wavefront_api_client.rest import ApiException
**body** | **list[str]**| The list of roles that should be added to the account | [optional]
130
+
131
+
### Return type
132
+
133
+
[**UserModel**](UserModel.md)
134
+
135
+
### Authorization
136
+
137
+
[api_key](../README.md#api_key)
138
+
139
+
### HTTP request headers
140
+
141
+
-**Content-Type**: application/json
142
+
-**Accept**: application/json
143
+
144
+
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
[[Back to top]](#)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to Model list]](../README.md#documentation-for-models)[[Back to README]](../README.md)
Copy file name to clipboardExpand all lines: docs/CustomerFacingUserObject.md
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,8 @@ Name | Type | Description | Notes
12
12
**ingestion_policy_id** | **str** | The identifier of the ingestion policy linked with user. | [optional]
13
13
**last_successful_login** | **int** | The last time the user logged in, in epoch milliseconds | [optional]
14
14
**_self** | **bool** | Whether this user is the one calling the API |
15
+
**united_permissions** | **list[str]** | The list of account's permissions assigned directly or through united roles assigned to it | [optional]
16
+
**united_roles** | **list[str]** | The list of account's roles assigned directly or through user groups assigned to it | [optional]
15
17
**user_groups** | **list[str]** | List of user group identifiers this user belongs to | [optional]
16
18
17
19
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**total_items** | **int** | An estimate (lower-bound) of the total number of items available for return. May not be a tight estimate for facet queries | [optional]
13
+
14
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
0 commit comments