Create a custom property type
Before you create a custom property type, you must first choose the flag you plan to add it to. To create a custom property type:- In the left sidebar, click Code. The CodeControl menu appears.
- Click Flags.
- Open the flag you wish to deprecate.
- Click the three-dot overflow menu in the right sidebar.
- Select Add custom property.
- Enter the new property type name in the Type field.
- (Optional) Edit the Key if needed.
- Enter the Values associated with the custom property.
- Click Save.
Add a custom property
To add an existing custom property to a flag:- In the left sidebar, click Code. The CodeControl menu appears.
- Click Flags.
- Open the flag you wish to add a custom property to.
- Click the three-dot overflow menu in the right sidebar.
- Select Add custom property.
- Select a property Type from the menu.
- Enter the Values associated with the property.
- Click Save.
You can also use the REST API: Create a feature flag