Update a prompt
Update a prompt's properties. Only provided fields will be updated.
Update a prompt's properties. Only provided fields will be updated.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer API token for access
In: header
Path Parameters
promptId*string
The ID of the prompt to update
Format
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
value?string
The prompt text
Length
1 <= lengthenabled?boolean
Whether the prompt is enabled
tags?array<string>
User-defined tags for categorizing this prompt
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://loading/api/v1/prompts/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "brandId": "string", "value": "string", "enabled": true, "tags": [ "string" ], "systemTags": [ "string" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}{ "error": "string", "message": "string"}