Skip to main content
DELETE
cURL
Removes a single sample from a draft voice. Only allowed while the voice is PVC_VOICE_STATE_DRAFT (or PVC_VOICE_STATE_FAILED); this endpoint returns 409 for a queued, training, or ready voice.

Authorizations

Authorization
string
header
required

Your API key. Read permissions are required for GET endpoints. Write permissions are required for POST, PATCH, and DELETE endpoints.

For Basic authentication, please populate Basic $INWORLD_API_KEY. You can create a key in one command with the Inworld CLI: inworld workspace add-key.

Path Parameters

voiceId
string
required

Voice ID that owns the sample.

sampleId
string
required

Sample ID to delete.

Response

A successful response.

The response is of type object.