getOrganizationRoleWithHttpInfo method
Retrieve an organization role
Use this request to retrieve an existing organization role by its ID.
Note: This method returns the HTTP Response.
Parameters:
- String organizationRoleId (required): The ID of the organization role
Implementation
Future<http.Response> getOrganizationRoleWithHttpInfo(
String organizationRoleId,
) async {
// ignore: prefer_const_declarations
final path = r'/organization_roles/{organization_role_id}'
.replaceAll('{organization_role_id}', organizationRoleId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
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,
);
}