Update prompt template

Update a template name or description.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <API_KEY>, where API_KEY is your API key.

Path parameters

templateIdstringRequired
Template to update.

Request

Fields to change. Every field is optional but you must send at least one; only the fields you send are updated.

namestringOptional
The new template name. Must be unique among the partner templates.
descriptionstring or nullOptional
The new description.

Response

The updated prompt template.
templateobject
The updated template.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error