cURL
curl --request DELETE \ --url https://api.example.com/api/v2/projects/{project_id}/prompt-templates/id/{template_id} \ --header 'Authorization: Bearer <token>'
{}
Archive a prompt template and all its versions. Use when retiring templates that are no longer needed. This is a soft delete.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
EmptyResponse()
The response is of type EmptyResponse · object.
EmptyResponse · object