Skip to main content
PUT
/
api
/
v1
/
projects
/
{project_id}
/
prompts
/
{prompt_id}
Update Prompt
curl --request PUT \
  --url https://api.example.com/api/v1/projects/{project_id}/prompts/{prompt_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "Title": "<string>",
  "OutputType": "IMAGE",
  "Description": "<string>",
  "PromptText": "<string>"
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required
prompt_id
string
required

Body

application/json
Title
string | null
OutputType
enum<string> | null
Available options:
IMAGE,
VIDEO,
TEXT
Description
string | null
PromptText
string | null

Response

Successful Response

success
boolean
required
data
unknown