getRoleWithHttpInfo method
Get a role
Get a role from the provided role id. ##### Permissions Requires an active session but no other permissions. Minimum server version: 4.9
Note: This method returns the HTTP Response
.
Parameters:
- String roleId (required): Role GUID
Implementation
Future<Response> getRoleWithHttpInfo(
String roleId,
) async {
// ignore: prefer_const_declarations
final path = r'/roles/{role_id}'.replaceAll('{role_id}', roleId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}