Projects
[BETA] Configuration for the actions UI.
Changed onEnterprise feature
[BETA] This API is in beta state, which means it may change or be removed in the future.
Returns the configuration for the actions UI.
get/api/admin/projects/{projectId}/actions/config
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/actions/config
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
projectIdstring required
Response
actionDefinitionsConfigSchema
Example response
{
"TOGGLE_FEATURE_ON": {
"label": "Enable a feature",
"description": "Enable a feature flag in a specific environment.",
"category": "Feature flags",
"permissions": [
"UPDATE_FEATURE"
],
"parameters": [
{
"name": "project",
"label": "Param name",
"type": "select",
"optional": true,
"options": [
"default"
]
}
]
},
"TOGGLE_FEATURE_OFF": {
"label": "Enable a feature",
"description": "Enable a feature flag in a specific environment.",
"category": "Feature flags",
"permissions": [
"UPDATE_FEATURE"
],
"parameters": [
{
"name": "project",
"label": "Param name",
"type": "select",
"optional": true,
"options": [
"default"
]
}
]
},
"TOGGLE_FEATURES_ON_BY_TAG": {
"label": "Enable a feature",
"description": "Enable a feature flag in a specific environment.",
"category": "Feature flags",
"permissions": [
"UPDATE_FEATURE"
],
"parameters": [
{
"name": "project",
"label": "Param name",
"type": "select",
"optional": true,
"options": [
"default"
]
}
]
},
"TOGGLE_FEATURES_OFF_BY_TAG": {
"label": "Enable a feature",
"description": "Enable a feature flag in a specific environment.",
"category": "Feature flags",
"permissions": [
"UPDATE_FEATURE"
],
"parameters": [
{
"name": "project",
"label": "Param name",
"type": "select",
"optional": true,
"options": [
"default"
]
}
]
}
}Changes
- info
endpoint added
- info