---
title: "[BETA] Configuration for the actions UI."
method: GET
path: "/api/admin/projects/{projectId}/actions/config"
tags: ["Projects"]
---

# [BETA] Configuration for the actions UI.

`GET /api/admin/projects/{projectId}/actions/config`

**Enterprise 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.

## Path parameters

- `projectId` string, required

## Response `200`

actionDefinitionsConfigSchema

- ActionDefinitionsConfigSchema — Configuration of different actions and their parameters.
  - `TOGGLE_FEATURE_ON` ActionDefinitionSchema — Configuration of a single action and its parameters.
    - `label` string, required — The label of the action.
    - `description` string, required — A description for the action.
    - `category` string, required — The category of the action.
    - `permissions` string[], required — The permissions required to perform the action.
    - `parameters` ActionDefinitionParameterSchema[], required — The parameters required to perform the action.
      - `name` 'project' | 'environment' | 'featureName' | 'tag', required — The name of the parameter.
      - `label` string, required — The label of the parameter.
      - `type` 'select' | 'hidden', required — The parameter type.
      - `optional` boolean — Whether the parameter is optional.
      - `options` string[] — Lists of options to be used for the parameter.
  - `TOGGLE_FEATURE_OFF` ActionDefinitionSchema — Configuration of a single action and its parameters.
    - `label` string, required — The label of the action.
    - `description` string, required — A description for the action.
    - `category` string, required — The category of the action.
    - `permissions` string[], required — The permissions required to perform the action.
    - `parameters` ActionDefinitionParameterSchema[], required — The parameters required to perform the action.
      - `name` 'project' | 'environment' | 'featureName' | 'tag', required — The name of the parameter.
      - `label` string, required — The label of the parameter.
      - `type` 'select' | 'hidden', required — The parameter type.
      - `optional` boolean — Whether the parameter is optional.
      - `options` string[] — Lists of options to be used for the parameter.
  - `TOGGLE_FEATURES_ON_BY_TAG` ActionDefinitionSchema — Configuration of a single action and its parameters.
    - `label` string, required — The label of the action.
    - `description` string, required — A description for the action.
    - `category` string, required — The category of the action.
    - `permissions` string[], required — The permissions required to perform the action.
    - `parameters` ActionDefinitionParameterSchema[], required — The parameters required to perform the action.
      - `name` 'project' | 'environment' | 'featureName' | 'tag', required — The name of the parameter.
      - `label` string, required — The label of the parameter.
      - `type` 'select' | 'hidden', required — The parameter type.
      - `optional` boolean — Whether the parameter is optional.
      - `options` string[] — Lists of options to be used for the parameter.
  - `TOGGLE_FEATURES_OFF_BY_TAG` ActionDefinitionSchema — Configuration of a single action and its parameters.
    - `label` string, required — The label of the action.
    - `description` string, required — A description for the action.
    - `category` string, required — The category of the action.
    - `permissions` string[], required — The permissions required to perform the action.
    - `parameters` ActionDefinitionParameterSchema[], required — The parameters required to perform the action.
      - `name` 'project' | 'environment' | 'featureName' | 'tag', required — The name of the parameter.
      - `label` string, required — The label of the parameter.
      - `type` 'select' | 'hidden', required — The parameter type.
      - `optional` boolean — Whether the parameter is optional.
      - `options` string[] — Lists of options to be used for the parameter.

## Other responses

- `401` — Authorization information is missing or invalid. Provide a valid API token as the `authorization` header, e.g. `authorization:*.*.my-admin-token`.
- `403` — The provided user credentials are valid, but the user does not have the necessary permissions to perform this operation

---

[API](https://skmtc.net/unleash/apis/unleash-api-3.md) · [All operations](https://skmtc.net/unleash/apis/unleash-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unleash/unleash-api-3/versions/b2c3116e633e/schema)
