Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Prompts → update_prompt_by_command_api_v1_prompts_command__command__update_post

AI-generated

Summary

Update an existing prompt identified by its command using a POST request to the Open Web UI API.

Inputs

  • command (required) — The unique command identifier of the prompt to update, provided as a path parameter.
  • title (required) — The new title of the prompt.
  • content (required) — The new content text of the prompt.
  • access_control — Optional access control settings for the prompt, which can be an object or null.
  • skipAuthentication — Boolean flag to skip authentication for the request (default is false).

Output shape

The operation returns a JSON object representing the updated prompt, including at least the command, title, content, and optionally access_control fields.

The request body must be sent as application/json including command, title, content fields (all mandatory) and optionally access_control. The command is also specified as a path parameter to identify which prompt to update. Authentication is applied by default unless skipped.

Links

Discussion