Strategies
Create, update, delete, manage custom strategies.
📄️ Get all strategies
Retrieves all strategy types ([predefined](https://docs.getunleash.io/reference/activation-strategies 'predefined strategies') and [custom strategies](https://docs.getunleash.io/reference/custom-activation-strategies)) that are defined on this Unleash instance.
📄️ Create a strategy
Creates a custom strategy type based on the supplied data. Custom strategies are deprecated and should not be used. Prefer using built in strategies with constraints instead.
📄️ Get a strategy definition
Retrieves the definition of the strategy specified in the URL
📄️ Delete a strategy
Deletes the specified strategy definition
📄️ Update a strategy type
Updates the specified strategy type. Any properties not specified in the request body are left untouched.
📄️ Deprecate a strategy
Marks the specified strategy as deprecated.
📄️ Reactivate a strategy
Marks the specified strategy as not deprecated. If the strategy wasn't already deprecated, nothing changes.
📄️ Get strategies that use a context field
Retrieves a list of all strategies that use the specified context field. If the context field doesn't exist, returns an empty list of strategies
📄️ Update strategy segments
Sets the segments of the strategy specified to be exactly the ones passed in the payload. Any segments that were used by the strategy before will be removed if they are not in the provided list of segments.