deleteOAuthAppWithHttpInfo method
Delete an OAuth app
Delete and unregister an OAuth 2.0 client application ##### Permissions If app creator, must have mange_oauth
permission otherwise manage_system_wide_oauth
permission is required.
Note: This method returns the HTTP Response
.
Parameters:
- String appId (required): Application client id
Implementation
Future<Response> deleteOAuthAppWithHttpInfo(
String appId,
) async {
// ignore: prefer_const_declarations
final path = r'/oauth/apps/{app_id}'.replaceAll('{app_id}', appId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'DELETE',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}