You can delete a stored object given the object ID using the DeleteObject API call.
This example demonstrates how to delete a stored object by specifying its object id.
from soniox.speech_service import SpeechClient from soniox.storage import delete_object # Do not forget to set your API key in the SONIOX_API_KEY environment variable. def main(): with SpeechClient() as client: object_id = "my_id_for_audio" # Delete object. delete_object(object_id, client) if __name__ == "__main__": main()