Class Index
java.lang.Object
com.ringcentral.paths.restapi.account.userrole.Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefault1()
delete()
delete
(DeleteCustomRoleParameters queryParams) Deletes a custom user role by ID.get()
Returns a user role assigned to the current account.list()
list
(ListUserRolesParameters queryParams) Returns a list of account user roles.path()
post
(RoleResource roleResource) Creates a custom user role.put
(RoleResource roleResource) Updates a user role assigned to the current account by ID.
-
Field Details
-
rc
-
parent
-
roleId
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
public RolesCollectionResource list(ListUserRolesParameters queryParams) throws RestException, IOException Returns a list of account user roles. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/user-role Rate Limit Group: Medium App Permission: ReadAccounts User Permission: ReadUserRoles- Throws:
RestException
IOException
-
list
- Throws:
RestException
IOException
-
post
Creates a custom user role. HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/user-role Rate Limit Group: Medium App Permission: RoleManagement User Permission: EditUserRoles- Throws:
RestException
IOException
-
get
Returns a user role assigned to the current account. HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/user-role/{roleId} Rate Limit Group: Light App Permission: ReadAccounts User Permission: ReadUserRoles- Throws:
RestException
IOException
-
put
Updates a user role assigned to the current account by ID. HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/user-role/{roleId} Rate Limit Group: Medium App Permission: RoleManagement User Permission: EditUserRoles- Throws:
RestException
IOException
-
delete
Deletes a custom user role by ID. HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/user-role/{roleId} Rate Limit Group: Medium App Permission: RoleManagement User Permission: EditUserRoles- Throws:
RestException
IOException
-
delete
- Throws:
RestException
IOException
-
default1
-
bulkAssign
-