Reset the workspace custom prompt
POST /api/workspaces/{workspaceId}/custom-prompt/reset
POST
/api/workspaces/{workspaceId}/custom-prompt/reset
Resets the workspace custom prompt to the default template.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspaceId
required
string
Responses
Section titled “ Responses ”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 messageWorkspace not found
object
success
boolean
error
required
string
Example
Human-readable error messageConnect a GitHub repository first (the prompt lives in the workspace repo).
object
success
required
boolean
error
required
string
code
required
string
Failed to reset custom prompt
object
success
boolean
error
required
string
Example
Human-readable error message