Skip to main content
This topic explains how to edit and delete views in LaunchDarkly, and how to require resources to be linked to a view. You can manage a view from its Settings tab, and set project-wide view requirements from the Views list.

Edit view settings

Each view has a Settings tab where you can update the view’s details. Each section of the tab saves separately. To edit a view’s settings:
  1. Click the gear icon in the left sidebar. The settings page opens.
  2. Click Views. The views list appears.
  3. Click the view you want to edit. The view opens.
  4. Click the Settings tab.
  5. Update the fields in a section.
  6. Click Save in that section. A “View updated” message appears.
If you leave the Settings tab with unsaved changes, LaunchDarkly asks you to confirm before you leave. The Settings tab has the following sections:
  • Name and description: The view’s name and description. The name is required.
  • Maintainer: The member or team responsible for the view.
  • Key: The key that identifies the view in the REST API. You cannot change a view’s key. Click the key to copy it.
  • Tags: Tags that help members find the view in searches.
  • Application: The application that the view serves. LaunchDarkly uses it to show which flags the application evaluates. To learn more, read Link applications to views.
  • SDK key payloads: The SDK keys whose payloads the view filters. To learn more, read Filtered SDK payloads.
  • Delete view: Permanently deletes the view. To learn more, read Delete a view.

Delete a view

To delete a view:
  1. Click the gear icon in the left sidebar. The settings page opens.
  2. Click Views. The views list appears.
  3. Click the view you want to delete. The view opens.
  4. Click the Settings tab.
  5. Click Delete in the “Delete view” section. A “Delete [view name]” dialog appears.
  6. Click Delete. A “View deleted” message appears and the views list opens.
Deleting a view unlinks all resources from the view. Any members whose roles included access to specific views will no longer have access to the resources linked in that view. For example, members whose roles included access to a particular view will no longer have access to the flags, AgentControl configs, and segments linked to that view. Deleting a view does not delete any of the resources that were linked to it.

Require resources to be linked to a view

If you use views to restrict access to sets of flags, AgentControl configs, or segments, require that they are associated with a view. To require that resources are linked to a view:
  1. Click the gear icon in the left sidebar. The settings page opens.
  2. Click Views. The views list appears.
  3. Click the Settings tab on the views list.
  4. Find the “Require new resources to be linked to views” section.
  5. Check one or more checkboxes:
    • Require flags and AgentControl configs to be linked to a view
    • Require segments to be linked to a view
After you enable this setting, all new selected resources must be associated with at least one view. Existing resources are unaffected. An alternative way to enforce this is to create a role that allows the createFlag, createAIConfig, or createSegment action only within a particular view. To learn how, read the View-specific permissions example policy.