deleteSSOUserWithHttpInfo method
Future<Response>
deleteSSOUserWithHttpInfo(
- String tenantId,
- String id, [
- DeleteSSOUserOptions? options
Performs an HTTP 'DELETE /api/v1/sso-users/{id}' operation and returns the Response.
Parameters:
Implementation
Future<Response> deleteSSOUserWithHttpInfo(String tenantId, String id, [ DeleteSSOUserOptions? options ]) async {
final deleteComments = options?.deleteComments;
final commentDeleteMode = options?.commentDeleteMode;
// ignore: prefer_const_declarations
final path = r'/api/v1/sso-users/{id}'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'tenantId', tenantId));
if (deleteComments != null) {
queryParams.addAll(_queryParams('', 'deleteComments', deleteComments));
}
if (commentDeleteMode != null) {
queryParams.addAll(_queryParams('', 'commentDeleteMode', commentDeleteMode));
}
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}