cURL
curl --request PATCH \ --url https://api.example.com/api/v2/projects/{project_id}/prompt-templates/id/{template_id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>" } '
{}
Rename a prompt template. Use when refactoring template names across your codebase.
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