deleteDestinationByPlatformWithHttpInfo method
Forgets a destination for the caller's org: every credential held in KMS, then the stored config.
Forgets a destination for the caller's org: every credential held in KMS, then the stored config. Idempotent, and it requires org admin.
Note: This method returns the HTTP Response.
Parameters:
- String platform (required): Platform is the destination to act on, from the path: ga4 | meta | tiktok | linkedin | x | reddit | insights | analytics.
Implementation
Future<Response> deleteDestinationByPlatformWithHttpInfo(String platform,) async {
// ignore: prefer_const_declarations
final path = r'/v1/destination/{platform}'
.replaceAll('{platform}', platform);
// 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,
);
}