v1VoicesVoiceIdSamplesSampleIdDelete method
Delete Sample @param voice_id Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. @param sample_id Sample ID to be used, you can use GET https://api.elevenlabs.io/v1/voices/{voice_id} to list all the available samples for a voice. @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<DeleteSampleResponseModel>>
v1VoicesVoiceIdSamplesSampleIdDelete({
required String? voiceId,
required String? sampleId,
String? xiApiKey,
}) {
generatedMapping.putIfAbsent(
DeleteSampleResponseModel,
() => DeleteSampleResponseModel.fromJsonFactory,
);
return _v1VoicesVoiceIdSamplesSampleIdDelete(
voiceId: voiceId,
sampleId: sampleId,
xiApiKey: xiApiKey?.toString(),
);
}