cURL
curl --request PATCH \ --url https://api.example.com/api/v1/orgs/{org_id}/prompts/{prompt_id}/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "description": "<string>", "content": "<string>", "tags": [ "<string>" ], "variables": [ {} ], "prompt_type": "<string>", "create_new_version": true, "version_notes": "<string>", "is_major_change": true } '
{}
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Data transfer object for updating a prompt.
Successful Response
The response is of type Response Update Prompt Api V1 Orgs Org Id Prompts Prompt Id Patch · object.
Response Update Prompt Api V1 Orgs Org Id Prompts Prompt Id Patch · object