Update publish settings
You can change who is allowed to view your published app without rebuilding or redeploying it. It lets you switch instantly between making the app public, restricting it to workspace members, or limiting access to specific people.
Business plan teams that need to update permissions or privacy for a live published app right away.
Do this, in order
- 1
Create an API key in your Lovable workspace settings with write access enabled for projects.
Updating project visibility requires authorized permissions.
- 2
Send a PATCH request to the publish endpoint for your project ID, specifying the audience as public, workspace, or custom.
This applies your access changes immediately without forcing a rebuild of your application.
- 3
Confirm the returned audience and target fields in the response.
Checking the response ensures your audience restrictions were saved and are now active.
Paste this into your project
Create an admin settings panel that allows authorized administrators to manage and update the published app audience settings between public, workspace, and custom targets using the Lovable publish API.
Words decoded
- audience
- The group of people allowed to visit and use your published app.
- audience_targets
- The specific list of individual users or groups allowed to view the app when using custom privacy settings.
- PATCH request
- A standard API command used to update specific settings on an existing resource without re-uploading everything.
Where people get stuck
- If your workspace enforces a strict publishing policy, switching an app from private to public cannot be done here; you must create a full new publish deployment instead.
- Setting a custom audience completely replaces existing user and group permissions and cuts off general workspace-wide access.
- This endpoint is restricted to Business plans or higher and will reject requests on lower tiers.
The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.