cURL
curl --request PUT \ --url https://api.promptmetrics.dev/template/{id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "rating": 3 } '
SDK API key in format: pm_
1 <= x <= 5
Template updated