Skip to content

Reset the workspace custom prompt

POST
/api/workspaces/{workspaceId}/custom-prompt/reset

Resets the workspace custom prompt to the default template.

workspaceId
required
string

Custom prompt reset.

object
success
required
boolean
message
required
string
content
required
string

Invalid workspace ID

object
success
boolean
error
required
string
Example
Human-readable error message

Workspace not found

object
success
boolean
error
required
string
Example
Human-readable error message

Failed to reset custom prompt

object
success
boolean
error
required
string
Example
Human-readable error message