Delete a tune
Deletes a specific tune by its ID, and associated prompts in case of a checkpoint.
Parameters
id
(required)
The ID of the tune to be deleted.
Returns
Returns 200 OK if the prompt was successfully deleted.
DELETE /tunes/:id
- cURL
- Node.js
- Python
curl -X DELETE -H "Authorization: Bearer $API_KEY" https://api.astria.ai/tunes/1
const headers = { Authorization: `Bearer ${API_KEY}` }
fetch('https://api.astria.ai/tunes/1', {
method: 'DELETE',
headers: headers
});
import requests
headers = {'Authorization': f'Bearer {API_KEY}'}
requests.delete('https://api.astria.ai/tunes/1', headers=headers)
Response
200 OK