Skip to main content

Delete a prompt

Deletes a specific prompt associated with a tune.

Parameters

id (required)

The ID of the prompt to be deleted.

Returns

Returns 200 OK if the prompt was successfully deleted.

DELETE /tunes/:tune_id/prompts/:id

curl -X DELETE -H "Authorization: Bearer $API_KEY" https://api.astria.ai/prompts/1

Response

{
"message": "Prompt successfully deleted"
}