v1HistoryHistoryItemIdDelete method
Delete History Item @param history_item_id History item ID to be used, you can use GET https://api.elevenlabs.io/v1/history to receive a list of history items and their IDs. @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.
Implementation
Future<chopper.Response<DeleteHistoryItemResponse>>
v1HistoryHistoryItemIdDelete({
required String? historyItemId,
String? xiApiKey,
}) {
generatedMapping.putIfAbsent(
DeleteHistoryItemResponse,
() => DeleteHistoryItemResponse.fromJsonFactory,
);
return _v1HistoryHistoryItemIdDelete(
historyItemId: historyItemId,
xiApiKey: xiApiKey?.toString(),
);
}