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.
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>"
}
'{}Documentation Index
Fetch the complete documentation index at: https://docs.freeplay.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
EmptyResponse()
The response is of type EmptyResponse · object.