getAncillaryPermissionsWithHttpInfo method
Return all system console subsection ancillary permissions
Returns all the ancillary permissions for the corresponding system console subsection permissions appended to the requested permission subsections. Minimum server version: 5.35
Note: This method returns the HTTP Response
.
Parameters:
- String subsectionPermissions: The subsection permissions to return the ancillary permissions for. These values are comma seperated. Ex. subsection_permissions=sysconsole_read_reporting_site_statistics,sysconsole_write_reporting_site_statistics,sysconsole_write_user_management_channels
Implementation
Future<Response> getAncillaryPermissionsWithHttpInfo({
String? subsectionPermissions,
}) async {
// ignore: prefer_const_declarations
final path = r'/permissions/ancillary';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
if (subsectionPermissions != null) {
queryParams.addAll(_queryParams('', 'subsection_permissions', subsectionPermissions));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}