Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This topic explains how to archive and restore archived context kinds.Archive context kinds
Archiving a context kind makes it unavailable for flag and segment targeting and unavailable for use in experiments. To archive a context kind:- Navigate to the Contexts list.
- Click the gear icon on the right. The context kinds list appears.
- Click the three-dotoverflow menu icon next to the context kind you want to archive. The “Edit context kind” dialog appears.
- Click Archive.
Archive the user context kind
If you need to, you can archive the user context kind. The process for doing so is slightly different than archiving other context kinds.- Navigate to the Contexts list.
- Click the gear icon on the right. The context kinds list appears.
- Click the three-dot overflow menu icon next to the user context kind. The “Edit context kind” dialog appears.
- Deselect the “Available for experiments and guarded rollouts” checkbox.
- Click Save.
- Return to the “Edit context kind” dialog for the user context kind. The “Archive” option is now enabled.
Restore archived context kinds
To restore an archived context kind:- Navigate to the Contexts list.
- Click the gear icon on the right. The context kinds list appears.
- Check the Show archived context kinds checkbox at the top of the context kinds list.
- Click the three-dot overflow menu icon next to the context kind you want to restore. The “Edit context kind” dialog appears.
- Click Restore.
You can also use the REST API: Create or update context kind