v1VoicesVoiceIdDelete method

Future<Response<DeleteVoiceResponseModel>> v1VoicesVoiceIdDelete({
  1. required String? voiceId,
  2. String? xiApiKey,
})

Delete Voice @param voice_id Voice ID to be used, you can use https://api.elevenlabs.io/v1/voices to list all the available voices. @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<DeleteVoiceResponseModel>> v1VoicesVoiceIdDelete({
  required String? voiceId,
  String? xiApiKey,
}) {
  generatedMapping.putIfAbsent(
    DeleteVoiceResponseModel,
    () => DeleteVoiceResponseModel.fromJsonFactory,
  );

  return _v1VoicesVoiceIdDelete(
    voiceId: voiceId,
    xiApiKey: xiApiKey?.toString(),
  );
}