Prompts
Update Prompt
Update Prompt — Nirmos Control Plane REST API.
better-auth.session_token<token>
Production cookie uses __Secure- prefix.
In: cookie
Path Parameters
id*string
Length
1 <= length <= 128Request Body
application/json
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/prompts/string" \ -H "Content-Type: application/json" \ -d '{ "name": "string", "slug": "string" }'{ "data": { "promptId": "string" }, "requestId": "string"}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}{ "error": { "code": "string", "message": "string", "details": null, "requestId": "string" }}