isilon 1.0.1

Isilon rest api bindings
Documentation
# \AuthRolesApi

All URIs are relative to *https://YOUR_CLUSTER_HOSTNAME_OR_NODE_IP:8080*

Method | HTTP request | Description
------------- | ------------- | -------------
[**create_role_member**]AuthRolesApi.md#create_role_member | **Post** /platform/1/auth/roles/{Role}/members | 
[**create_role_privilege**]AuthRolesApi.md#create_role_privilege | **Post** /platform/1/auth/roles/{Role}/privileges | 
[**delete_role_member**]AuthRolesApi.md#delete_role_member | **Delete** /platform/1/auth/roles/{Role}/members/{RoleMemberId} | 
[**delete_role_privilege**]AuthRolesApi.md#delete_role_privilege | **Delete** /platform/1/auth/roles/{Role}/privileges/{RolePrivilegeId} | 
[**list_role_members**]AuthRolesApi.md#list_role_members | **Get** /platform/1/auth/roles/{Role}/members | 
[**list_role_privileges**]AuthRolesApi.md#list_role_privileges | **Get** /platform/1/auth/roles/{Role}/privileges | 


# **create_role_member**
> ::models::CreateResponse create_role_member(ctx, role_member, role)


Add a member to the role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role_member** | [**AuthAccessAccessItemFileGroup**]AuthAccessAccessItemFileGroup.md|  | 
  **role** | **String**|  | 

### Return type

[**::models::CreateResponse**](CreateResponse.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)

# **create_role_privilege**
> ::models::CreateResponse create_role_privilege(ctx, role_privilege, role)


Add a privilege to the role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role_privilege** | [**AuthIdNtokenPrivilegeItem**]AuthIdNtokenPrivilegeItem.md|  | 
  **role** | **String**|  | 

### Return type

[**::models::CreateResponse**](CreateResponse.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)

# **delete_role_member**
> delete_role_member(ctx, role_member_id, role)


Remove a member from the role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role_member_id** | **String**| Remove a member from the role. | 
  **role** | **String**|  | 

### Return type

 (empty response body)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)

# **delete_role_privilege**
> delete_role_privilege(ctx, role_privilege_id, role)


Remove a privilege from a role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role_privilege_id** | **String**| Remove a privilege from a role. | 
  **role** | **String**|  | 

### Return type

 (empty response body)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)

# **list_role_members**
> ::models::GroupMembers list_role_members(ctx, role, optional)


List all the members of the role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role** | **String**|  | 
 **optional** | **map[string]interface{}** | optional parameters | nil if no parameters

### Optional Parameters
Optional parameters are passed through a map[string]interface{}.

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **role** | **String**|  | 
 **resolve_names** | **bool**| Resolve names of personas. | 

### Return type

[**::models::GroupMembers**](GroupMembers.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)

# **list_role_privileges**
> ::models::RolePrivileges list_role_privileges(ctx, role)


List all privileges in the role.

### Required Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  **role** | **String**|  | 

### Return type

[**::models::RolePrivileges**](RolePrivileges.md)

### Authorization

[basicAuth](../README.md#basicAuth)

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json

[[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)