deleteOAuthApplicationWithHttpInfo method
Delete an OAuth application
Deletes the given OAuth application. This is not reversible.
Note: This method returns the HTTP Response
.
Parameters:
- String oauthApplicationId (required): The ID of the OAuth application to delete
Implementation
Future<http.Response> deleteOAuthApplicationWithHttpInfo(
String oauthApplicationId,
) async {
// ignore: prefer_const_declarations
final path = r'/oauth_applications/{oauth_application_id}'
.replaceAll('{oauth_application_id}', oauthApplicationId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
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,
);
}