No results for ""
EXPAND ALL
  • Home
  • API docs

Archiving context kinds

Read time: 1 minute
Last edited: Oct 03, 2024

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:

  1. Navigate to the Contexts list.
  2. Click the gear icon on the right. The context kinds list appears.
  3. Click the pencil edit icon next to the context kind you want to archive. The "Edit context kind" dialog appears.
  4. Click Archive.

The context kind is now hidden from the contexts kinds list and is not available in flag and segment targeting rules.

Restore archived context kinds

To restore an archived context kind:

  1. Navigate to the Contexts list.
  2. Click the gear icon on the right. The context kinds list appears.
  3. Check the Show archived context kinds checkbox at the top of the context kinds list.
  4. Click the pencil edit icon next to the context kind you want to restore. The "Edit context kind" dialog appears.
  5. Click Restore.

The context kind displays on the context kinds list and is available for targeting.

You can also use the REST API: Create or update context kind