Open Web UI icon

Open Web UI

OpenWebUI

Actions304

Users → update_user_permissions_api_v1_users_default_permissions_post

AI-generated

Summary

Update the default permissions for users by sending a POST request with customizable permission settings to the Open Web UI API endpoint.

Inputs

  • skipAuthentication — Optional boolean to skip authentication; defaults to false.
  • method (required) — HTTP method to use; the default and only valid method here is POST.
  • mediaType (required) — Content-Type of the request body; only 'application/json' is supported.
  • requestBody (required) — Collection of permission settings for workspace, chat, and features, each with boolean flags to control specific abilities, used to define the new default permissions for users.

Output shape

a single JSON response from the API representing the updated default user permissions or an acknowledgment of the update

The endpoint is fixed at /api/v1/users/default/permissions, and the request body must include workspace, chat, and features permission objects as specified. Authentication is required unless explicitly skipped.

Examples

Example 1: Updating the default user permissions to enable image generation and disable prompt access

Set 'requestBody.features.image_generation' to true and 'requestBody.workspace.prompts' to false, method to POST, media type application/json, and ensure authentication is provided unless 'skipAuthentication' is true.

Links

Discussion