PATCH
/
api
/
v1
/
orgs
/
{org_id}
/
prompts
/
{prompt_id}
/
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required
prompt_id
string
required

Body

application/json

Data transfer object for updating a prompt.

name
string | null
description
string | null
content
string | null
tags
string[] | null
variables
Variables · object[] | null
prompt_type
string | null
create_new_version
boolean
version_notes
string | null
is_major_change
boolean

Response

Successful Response

The response is of type object.