Skip to content

Update prompt template.

PATCH
/backend/v1/prompts/templates/{promptTemplateId}

Modifies a prompt template, allowing you to update the name.

Authorizations

HTTPBearer
TypeHTTP (bearer)

Parameters

Path Parameters

promptTemplateId*
Typestring
Required
formatuuid

Request Body

application/json
JSON
{
"name": "string"
}

Responses

Successful Response
application/json
JSON
{
"message": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Updated at: