Get strategies that use a context field
GET<your-unleash-url>/api/admin/context/:contextField/strategies
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
Request
Responses
- 200
- 401
contextFieldStrategiesSchema
Authorization information is missing or invalid. Provide a valid API token as the authorization
header, e.g. authorization:*.*.my-admin-token
.
Authorization: Authorization
name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L '<your-unleash-url>/api/admin/context/:contextField/strategies' \
-H 'Accept: application/json' \
-H 'Authorization: <Authorization>'
ResponseClear