Admin — Prompts
Update a prompt collection
Updates a prompt collection's name, industry, and/or description. Built-in collections cannot be modified.
Path Parameters
id*string
Length
1 <= length <= 128Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "http://localhost:3001/api/v1/admin/prompts/abc123" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "string",
"orgId": "string",
"name": "string",
"industry": "string",
"description": "string",
"isBuiltin": true,
"sortOrder": 0,
"createdAt": "string",
"updatedAt": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}