v3

latestOpenAPI 3.1.02026-07-311,4541,5202.3 MB
prompts

Api Prompts Update

PUT handler with superadmin lock and field protection.

Same as patch() - checks lock and field protection before delegating.

put/api/prompts/

Headers

Authorizationstring required

JWT access token or Respan API key

Request body

projectstring nullable
namestring
descriptionstring
prompt_idstring
prompt_slugstring nullable
starredboolean
deleted_atstring date-time nullable
organizationinteger required

Response

idstring required
full_prompt_idstring required
created_byinteger required
projectstring nullable
prompt_live_version_numberinteger required
namestring
descriptionstring
prompt_idstring
prompt_slugstring nullable
commit_countinteger required
starredboolean
deleted_atstring date-time nullable
organizationinteger required