Skip to main content
PATCH
Move a prompt to a folder

Authorizations

x-api-key
string
header
required

Project API key. Manage keys in the Zespan dashboard under project settings.

Path Parameters

name
string
required

Prompt name.

Body

application/json
folder
string | null
required

Folder path, or null for the root.

Example:

"support/inbound"

projectId
string<uuid>

Optional when authenticating with an API key.

Response

Move result.

success
boolean
Example:

true

folder
string | null
Example:

"support/inbound"

updatedCount
integer
Example:

3