Volver al catálogo

Unleash

unleash

Unleash is a feature management platform for creating, configuring, and governing feature flags across projects and environments.

Acciones
297
Triggers
0
Autenticación
—
OAuth gestionado
No
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (297)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Configure project accessUNLEASH_ADD_ACCESS_TO_PROJECTAcción

Configure project access for groups and single users. The provided users and groups will be given the roles specified in the payload.

Parámetros de entrada

  • rolesinteger[]Obligatorio

    A list of role IDs

  • usersinteger[]Obligatorio

    A list of user IDs

  • groupsinteger[]Obligatorio

    A list of group IDs

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

This endpoint will add a comment to a change requestUNLEASH_ADD_CHANGE_REQUEST_COMMENTAcción

This endpoint will add a comment to a change request for the user making the request.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • textstringObligatorio

    The content of the comment.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set environment-default strategyUNLEASH_ADD_DEFAULT_STRATEGY_TO_PROJECT_ENVIRONMENTAcción

Sets a default strategy for this environment. Unleash will use this strategy by default when enabling a feature flag. Use the wild card "*" for `:environment` to add to all environments.

Parámetros de entrada

  • namestringObligatorio

    The name of the strategy type

  • titlestring

    A descriptive title for the strategy

  • disabledboolean

    A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs

  • segmentsnumber[]

    Ids of segments to use for this strategy

  • variantsobject[]

    Strategy level variants

  • parametersobject

    A list of parameters for a strategy

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • sort_ordernumber

    The order of the strategy in the list

  • constraintsobject[]

    A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add environments to a projectUNLEASH_ADD_ENVIRONMENTS_TO_PROJECTAcción

Sequentially associate multiple environments with one project after rejecting duplicates and existing associations. On the first failure, attempts to remove only additions acknowledged during this run in reverse order. This is a non-atomic compensating workflow that can execute deletions; the response reports forward progress, cleanup attempts, cleanup failures, and possible partial state. A definitive 4xx rejects the failed item, while a 5xx or transport failure leaves that item's outcome unknown because Unleash may have committed it.

Parámetros de entrada

  • project_idstringObligatorio

    Exact project ID that will gain the environment associations.

  • environmentsobject[]Obligatorio

    Non-empty list of uniquely named environments and their association-local change-request and default-strategy configuration.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add an environment to a projectUNLEASH_ADD_ENVIRONMENT_TO_PROJECTAcción

Associate one existing environment with a project, optionally configure change requests, and optionally create the default activation strategy used when enabling feature flags in that project environment.

Parámetros de entrada

  • project_idstringObligatorio

    Exact project ID that will gain the environment association.

  • environmentstringObligatorio

    Exact name of an existing environment to associate with the project.

  • default_strategyobject

    Default activation strategy to create for this project-environment association and apply when enabling feature flags.

  • change_requests_enabledboolean

    Whether to enable change requests for this project-environment association.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add feature dependenciesUNLEASH_ADD_FEATURE_DEPENDENCIESAcción

Add multiple parent dependencies to one child feature flag in order. The action rejects existing dependencies before mutation and compensates a failed batch in reverse order by deleting additions made during this run. This non-atomic compensating workflow can execute deletions; inspect complete, partial_state, failed_item_outcome, and rollback_failures. A definitive 4xx rejects the failed item, while a 5xx or transport failure leaves its outcome unknown because Unleash may have committed it.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the child and parent feature flags.

  • dependenciesobject[]Obligatorio

    Non-empty dependency list. Parent feature names must be unique.

  • child_feature_namestringObligatorio

    Exact child feature flag name that will depend on each requested parent.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a feature dependencyUNLEASH_ADD_FEATURE_DEPENDENCYAcción

Add a dependency to a parent feature. Each environment will resolve corresponding dependency independently.

Parámetros de entrada

  • enabledboolean

    Required enabled state of the parent. Omit for Unleash's default; when false, variants are ignored.

  • variantsstring[]

    Acceptable parent variant names. Omit or use an empty list to check only the enabled state.

  • project_idstringObligatorio

    Project ID containing the child and parent feature flags.

  • child_feature_namestringObligatorio

    Exact child feature flag name that will depend on the parent feature flag.

  • parent_feature_namestringObligatorio

    Exact parent feature flag name on which the child will depend.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add Feature StrategyUNLEASH_ADD_FEATURE_STRATEGYAcción

Add one activation strategy configuration to a feature flag in an environment.

Parámetros de entrada

  • namestringObligatorio

    Strategy type name, such as flexibleRollout or default.

  • titlestring

    Human-readable title for this strategy instance.

  • disabledboolean

    Whether this strategy instance is disabled.

  • segmentsnumber[]

    Numeric segment IDs attached to this strategy.

  • variantsobject[]

    Experimental strategy-level variants.

  • parametersobject

    Provider-defined strategy parameters; values must be strings.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • sort_ordernumber

    Evaluation order for the strategy.

  • constraintsobject[]

    Constraints that must match for the strategy.

  • environmentstringObligatorio

    Environment name, such as development or production.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add a release planUNLEASH_ADD_RELEASE_PLANAcción

Adds a release plan to a specific feature flag and environment.

Parámetros de entrada

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • template_idstringObligatorio

    The release plan template's ID. Release template IDs are ulids.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add and remove tags across featuresUNLEASH_ADD_TAG_TO_FEATURESAcción

Add and remove the supplied tags on every listed feature in a project, creating added tags when needed. Both tags.addedTags and tags.removedTags are required and may be empty; additions are applied before removals.

Parámetros de entrada

  • tagsobjectObligatorio

    Represents a set of changes to a feature's tags, such as adding or removing tags.

  • featuresstring[]Obligatorio

    The list of features that will be affected by the tag changes.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Approve a user access requestUNLEASH_APPROVE_USER_ACCESS_REQUESTAcción

Approves a pending user access request, creating a new user with the specified role.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • root_roleintegerObligatorio

    The ID of the root role to assign to the new user.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive FeatureUNLEASH_ARCHIVE_FEATUREAcción

Archive a feature flag in a project. The feature can be revived in Unleash, but revival is not performed by this action.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archives a list of featuresUNLEASH_ARCHIVE_FEATURESAcción

This endpoint archives the specified features. Any features that are already archived or that don't exist are ignored. All existing features (whether already archived or not) that are provided must belong to the specified project.

Parámetros de entrada

  • featuresstring[]Obligatorio

    List of feature flag names

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive a release templateUNLEASH_ARCHIVE_RELEASE_TEMPLATEAcción

Archives a global release template or a template scoped to one project. The project branch is a beta API.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to archive a global template or a template for one project. The project-scoped API is beta.

    globalproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • template_idstringObligatorio

    ID of the release template to archive.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update a milestone progressionUNLEASH_CHANGE_MILESTONE_PROGRESSIONAcción

Creates or updates a milestone progression by source milestone ID. If a progression with the given source milestone exists, it will be updated; otherwise, a new one will be created.

Parámetros de entrada

  • idstringObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • target_milestonestringObligatorio

    The ID of the target milestone

  • transition_conditionanyObligatorio

    A transition condition for milestone progression

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Change your own passwordUNLEASH_CHANGE_MY_PASSWORDAcción

Immediately replaces the connected user's password after verifying the old password and confirmation. Treat credentials as secrets and never log them.

Parámetros de entrada

  • passwordstringObligatoriopassword

    The new password. Treat this value as a secret and never log it.

  • old_passwordstringObligatoriopassword

    The connected user's current password. Treat this value as a secret and never log it.

  • confirm_passwordstringObligatoriopassword

    Confirmation of the new password. Treat this value as a secret and never log it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Move feature to projectUNLEASH_CHANGE_PROJECTAcción

Moves the specified feature to the new project in the request schema. Requires you to have permissions to move the feature flag in both projects. Features that are included in any active change requests can not be moved.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • new_project_idstringObligatorio

    The project to move the feature flag to.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create/Add change to a change requestUNLEASH_CHANGE_REQUESTAcción

Add one or more typed changes to the caller's existing draft change request for the project environment, or create a draft when none exists.

Parámetros de entrada

  • bodyanyObligatorio

    One typed change or a list of typed changes. The action discriminator selects the exact required payload for updateSegment, deleteSegment, updateEnabled, addStrategy, updateMilestoneStrategy, updateStrategy, deleteStrategy, archiveFeature, patchVariant, reorderStrategy, addDependency, deleteDependency, addReleasePlan, startMilestone, deleteReleasePlan, changeMilestoneProgression, deleteMilestoneProgression, resumeMilestoneProgression, changeReleasePlanSafeguard, deleteReleasePlanSafeguard, changeFeatureEnvSafeguard, or deleteFeatureEnvSafeguard.

  • project_idstringObligatorio

    Project ID in which to create a change request or add a change.

  • environmentstringObligatorio

    Environment name where the proposed change will eventually apply.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Change password for a userUNLEASH_CHANGE_USER_PASSWORDAcción

Immediately replaces a user's password as an administrator. Treat credentials as secrets and never log them.

Parámetros de entrada

  • idintegerObligatorio

    a user id

  • passwordstringObligatoriopassword

    The user's new password. Treat this value as a secret and never log it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Check dependencies existUNLEASH_CHECK_DEPENDENCIES_EXISTAcción

Check if any dependencies exist in this Unleash instance

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validates the Unleash licenseUNLEASH_CHECK_LICENSEAcción

Check the current Enterprise license and return whether it is valid, along with any provider status message and its info, warning, or error severity.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clones an environmentUNLEASH_CLONE_ENVIRONMENTAcción

Given an existing environment name and a set of options, this will create a copy of that environment

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • typestringObligatorio

    Updates the type of environment (i.e. development or production).

  • projectsstring[]Obligatorio

    A list of projects that should be included in the cloned environment.

  • name_bodystringObligatorio

    The name of the new cloned environment, this cannot be changed later

  • clone_permissionsboolean

    Copies the RBAC permissions from the source environment if true. Defaults to true

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clone a feature flagUNLEASH_CLONE_FEATUREAcción

Creates a copy of the specified feature flag. The copy can be created in any project.

Parámetros de entrada

  • namestringObligatorio

    The name of the new feature

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • replace_group_idboolean

    Whether to use the new feature name as its group ID or not. Group ID is used for calculating [stickiness](https://docs.getunleash.io/concepts/stickiness#calculation). Defaults to true.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Create an action setUNLEASH_CREATE_ACTION_SETAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Creates a new action set.

Parámetros de entrada

  • namestringObligatorio

    The name of the action set

  • matchobjectObligatorio

    Defines a matching rule for the signal that will trigger the action set

  • actionsobject[]Obligatorio

    The list of actions to execute in sequential order when the action set is triggered

  • enabledboolean

    Whether this action set is enabled or not

  • actor_idintegerObligatorio

    The id of the service account that will execute the action

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • descriptionstring

    The description of the action set

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new addonUNLEASH_CREATE_ADDONAcción

Create an external event integration. If enabled is true, Unleash starts sending the selected project and environment events to the configured external provider; create it disabled to configure delivery without starting it.

Parámetros de entrada

  • urlstringpassword

    Destination URL for webhook, Slack webhook, Teams, Datadog, New Relic, or Teams Workflow delivery. Required for webhook, slack, teams, new-relic, and the teams-workflow or teamsworkflow identifier returned by the instance. Treated as secret because webhook URLs can contain credentials.

  • eventsstring[]Obligatorio

    Event types to deliver. Use LIST_ADDONS to discover those supported by the selected provider.

  • api_keystringpassword

    Datadog API key. Required for the datadog provider; never log it.

  • enabledbooleanObligatorio

    Whether to begin delivering selected events as soon as the addon is created.

  • projectsstring[]

    Project IDs to deliver events from. Omit or pass an empty list for all projects.

  • providerstringObligatorio

    Case-sensitive addon provider name returned by LIST_ADDONS. Providers are instance-discovered and may include custom integrations.

  • usernamestring

    Slack webhook username. Applies only to the slack provider and defaults to "Unleash".

  • emoji_iconstring

    Slack webhook emoji icon. Applies only to the slack provider and defaults to ":unleash:".

  • descriptionstring

    Human-readable addon description.

  • license_keystringpassword

    New Relic license key. Required for the new-relic provider; never log it.

  • access_tokenstringpassword

    App for Slack access token. Required for the slack-app provider; never log it.

  • content_typestring

    Webhook Content-Type header. Applies only to the webhook provider and defaults to application/json.

  • environmentsstring[]

    Environment names to deliver events from. Omit or pass an empty list for all environments.

  • body_templatestring

    Mustache body template for webhook, Datadog, or New Relic delivery.

  • custom_headersobject

    Additional outbound HTTP headers as string key-value pairs. Supported by webhook, slack, teams, datadog, new-relic, and the teams-workflow or teamsworkflow identifier returned by the instance. Header values may contain secrets.

  • default_channelstring

    Fallback Slack channel when an event has no Slack tag. Required for the slack provider.

  • default_channelsstring[]

    Slack App channels that always receive selected events, in addition to channels selected by Slack tags.

  • source_type_namestring

    Datadog event source_type_name. Applies only to the datadog provider.

  • provider_parametersobject

    Provider-specific parameter object using the exact keys documented by LIST_ADDONS. Use this for custom or instance-defined providers; values may contain credentials and must not be logged. Do not combine a key here with its equivalent typed field.

  • webhook_header_valuestringpassword

    Value Unleash sends in the webhook Authorization header. Applies only to the webhook provider; never log it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create API tokenUNLEASH_CREATE_API_TOKENAcción

Create a backend, frontend, or deprecated client API token with optional project, environment, and expiry restrictions. The response can reveal the token secret only when issued; store it securely and never log it.

Parámetros de entrada

  • typestringObligatorioenum

    Token type. Use "backend" instead of the deprecated "client" type, or "frontend" for browser clients.

    clientbackendfrontend
  • projectstring

    Single project the token can access. Omit both project selectors for all projects ("*"). Mutually exclusive with `projects`.

  • projectsstring[]

    Projects the token can access. Mutually exclusive with `project`.

  • expires_atstring

    ISO 8601 date and time when the token should expire.

  • token_namestringObligatorio

    Unique display name for the token; this is not the token secret.

  • environmentstring

    Environment the token can access; defaults to "default".

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create an application to connect reported metricsUNLEASH_CREATE_APPLICATIONAcción

Create an application record with its loaded activation strategies and optional URL, color, and icon metadata. This operation does not report an SDK name or version.

Parámetros de entrada

  • urlstring

    A link to reference the application reporting the metrics. Could for instance be a GitHub link to the repository of the application

  • iconstring

    An URL to an icon file to be used for the applications's entry in the application list

  • colorstring

    Css color to be used to color the application's entry in the application list

  • app_namestringObligatorio

    App Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • strategiesstring[]

    Which [strategies](https://docs.getunleash.io/concepts#activation-strategies) the application has loaded. Useful when trying to figure out if your [custom strategy](https://docs.getunleash.io/concepts/activation-strategies#custom-strategies) has been loaded in the SDK

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a bannerUNLEASH_CREATE_BANNERAcción

Creates a new banner.

Parámetros de entrada

  • iconstring

    The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed.

  • linkstring

    The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed.

  • dialogstring

    The markdown to display on the dialog. If not specified, no dialog will be displayed.

  • stickyboolean

    Whether the banner should be sticky on the screen. If not specified, defaults to `false`.

  • enabledboolean

    Whether the banner should be displayed currently. If not specified, defaults to true.

  • messagestringObligatorio

    The message to display to all users. Supports markdown.

  • variantstringenum

    The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info".

    infowarningerrorsuccess
  • link_textstring

    The text to display on the link. If not specified, will be displayed as "More info".

  • dialog_titlestring

    The title to display on the dialog. If not specified, this will be the same as `linkText`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create Context FieldUNLEASH_CREATE_CONTEXT_FIELDAcción

Create a root context field or a project context field. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • namestringObligatorio

    Name of the context field to create.

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • projectstring

    Optional project association stored on the context field.

  • project_idstring

    Project ID. Required only when scope is project.

  • sort_orderinteger

    Order used when listing context fields.

  • stickinessboolean

    Whether this field can be used for custom stickiness calculations.

  • descriptionstring

    Optional context-field description.

  • legal_valuesobject[]

    Allowed values for this context field.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Creates a new environmentUNLEASH_CREATE_ENVIRONMENTAcción

Uses the details provided in the payload to create a new environment

Parámetros de entrada

  • namestringObligatorio

    The name of the environment. Must be a URL-friendly string according to [RFC 3968, section 2.3](https://www.rfc-editor.org/rfc/rfc3986#section-2.3)

  • typestringObligatorio

    The [type of environment](https://docs.getunleash.io/concepts/environments#environment-types) you would like to create. Unleash officially recognizes the following values: - `development` - `test` - `preproduction` - `production` If you pass a string that is not one of the recognized values, Unleash will accept it, but it will carry no special semantics.

  • enabledboolean

    Newly created environments are enabled by default. Set this property to `false` to create the environment in a disabled state.

  • sort_orderinteger

    Defines where in the list of environments to place this environment. The list uses an ascending sort, so lower numbers are shown first. You can change this value later.

  • required_approvalsinteger

    Experimental field. The number of approvals required before a change request can be applied in this environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create FeatureUNLEASH_CREATE_FEATUREAcción

Create a feature flag in a project without enabling it in any environment.

Parámetros de entrada

  • namestringObligatorio

    Unique feature flag name.

  • tagsobject[]

    Tags to attach to the feature at creation time.

  • typestringenum

    Feature flag type.

    experimentkill-switchreleaseoperationalpermissionsunset
  • project_idstringObligatorio

    Project ID that will contain the feature flag.

  • descriptionstring

    Detailed feature description.

  • impression_databoolean

    Whether to collect impression data for the feature.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a feature linkUNLEASH_CREATE_FEATURE_LINKAcción

Create a new link for a feature.

Parámetros de entrada

  • urlstringObligatorio

    The URL the feature is linked to

  • titlestring

    The description of the link

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new groupUNLEASH_CREATE_GROUPAcción

Creates an Enterprise user group for role-based access control, with optional SSO mappings, predefined root role, and initial user membership.

Parámetros de entrada

  • namestringObligatorio

    The name of the group

  • usersobject[]

    A list of users belonging to this group

  • root_roleintegerenum

    Predefined root role ID applied to all group members: 1 (Admin), 2 (Editor), or 3 (Viewer).

    123
  • descriptionstring

    A custom description of the group

  • mappings_ssostring[]

    A list of SSO groups that should map to this Unleash group

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new personal access token (PAT) for the current userUNLEASH_CREATE_PATAcción

Creates a new [personal access token](https://docs.getunleash.io/concepts/api-tokens-and-client-keys#personal-access-tokens (PAT) belonging to the current user. The response may contain secret material that is shown only when issued; store it securely and never log it.

Parámetros de entrada

  • expires_atstringObligatorio

    The PAT's expiration date.

  • descriptionstringObligatorio

    The PAT's description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create projectUNLEASH_CREATE_PROJECTAcción

Create a new [Unleash project](https://docs.getunleash.io/concepts/projects).

Parámetros de entrada

  • idstring

    The project's identifier. If this property is not present or is an empty string, Unleash will generate the project id automatically. This property is deprecated.

  • modestringenum

    A mode of the project affecting what actions are possible in this project

    openprotectedprivate
  • namestringObligatorio

    The project's name. The name must contain at least one non-whitespace character.

  • descriptionstring

    The project's description.

  • environmentsstring[]

    A list of environments that should be enabled for this project. If this property is missing, Unleash will default to enabling all non-deprecated environments for the project. An empty list will result in no environment enabled for the project.

  • default_stickinessstring

    A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy

  • change_request_environmentsobject[]

    A list of environments that should have change requests enabled. If the list includes environments not in the `environments` list, they will still have change requests enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a project API tokenUNLEASH_CREATE_PROJECT_API_TOKENAcción

Create an API token scoped to the specified project. The response can reveal the token secret only when issued; store it securely and never log it.

Parámetros de entrada

  • typestringObligatorioenum

    Token type. Use "backend" instead of the deprecated "client" type, or "frontend" for browser clients.

    clientbackendfrontend
  • expires_atstring

    The date and time when the token should expire. The date should be in ISO 8601 format.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • token_namestringObligatorio

    A unique name for this particular token

  • environmentstring

    The environment that the token should be valid for. Defaults to "default".

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a public signup tokenUNLEASH_CREATE_PUBLIC_SIGNUP_TOKENAcción

Lets administrators create a invite link to share with colleagues. People that join using the public invite are assigned the `Viewer` role. The response may contain secret material that is shown only when issued; store it securely and never log it.

Parámetros de entrada

  • namestringObligatorio

    The token's name.

  • expires_atstringObligatorio

    The token's expiration date.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a release templateUNLEASH_CREATE_RELEASE_TEMPLATEAcción

Creates and returns a release template with its name, optional nullable description, and optional milestone configuration. Project scope uses a beta API.

Parámetros de entrada

  • namestringObligatorio

    The release template's name.

  • scopestringObligatorioenum

    Whether to create a global template or a template for one project. The project-scoped API is beta.

    globalproject
  • milestonesobject[]

    Milestones to include in the release template.

  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • descriptionstring

    The release template's description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new roleUNLEASH_CREATE_ROLEAcción

Create a new custom role for Role-Based Access Control.

Parámetros de entrada

  • namestringObligatorio

    Name for the new custom role.

  • typestringenum

    Role scope: "root-custom" applies across the instance; "custom" is a project role.

    root-customcustom
  • descriptionstring

    What the custom role is intended for.

  • permissionsarray

    Permissions assigned to the role, identified consistently by permission name or numeric permission ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create SegmentUNLEASH_CREATE_SEGMENTAcción

Create a reusable segment from a name and complete constraint list.

Parámetros de entrada

  • namestringObligatorio

    Segment name.

  • projectstring

    Project ID that owns the segment, or omit for a global segment.

  • constraintsobject[]Obligatorio

    Complete list of constraints that define the segment.

  • descriptionstring

    What this segment represents.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a service accountUNLEASH_CREATE_SERVICE_ACCOUNTAcción

Creates a new service account.

Parámetros de entrada

  • namestringObligatorio

    The name of the service account

  • usernamestringObligatorio

    The username of the service account

  • root_roleintegerObligatorio

    The id of the root role for the service account

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a token for a service accountUNLEASH_CREATE_SERVICE_ACCOUNT_TOKENAcción

Creates a new token for the service account identified by the id. The response may contain secret material that is shown only when issued; store it securely and never log it.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • expires_atstringObligatorio

    The PAT's expiration date.

  • descriptionstringObligatorio

    The PAT's description.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Create a signal endpointUNLEASH_CREATE_SIGNAL_ENDPOINTAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Creates a new signal endpoint.

Parámetros de entrada

  • namestringObligatorio

    The signal endpoint name. Must be URL-safe.

  • enabledboolean

    Whether the signal endpoint is currently enabled. If not specified, defaults to true.

  • descriptionstring

    A more detailed description of the signal endpoint and its intended use.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Create a signal endpoint token for a specific signal endpointUNLEASH_CREATE_SIGNAL_ENDPOINT_TOKENAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Creates a new signal endpoint token for a specific signal endpoint, identified by its ID. The response may contain a one-time authentication token; store it securely and never log it.

Parámetros de entrada

  • namestringObligatorio

    The signal endpoint token name.

  • signal_endpoint_idanyObligatorio

    Signal Endpoint Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a strategyUNLEASH_CREATE_STRATEGYAcción

Creates a custom strategy type based on the supplied data.

Parámetros de entrada

  • namestringObligatorio

    The name of the strategy type. Must be unique.

  • titlestring

    The title of the strategy

  • editableboolean

    Whether the strategy type is editable or not. Defaults to `true`.

  • deprecatedboolean

    Whether the strategy type is deprecated or not. Defaults to `false`.

  • parametersobject[]Obligatorio

    The parameter list lets you pass arguments to your custom activation strategy. These will be made available to your custom strategy implementation.

  • descriptionstring

    A description of the strategy type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new tagUNLEASH_CREATE_TAGAcción

Create a new tag with the specified data.

Parámetros de entrada

  • typestringObligatorio

    The [type](https://docs.getunleash.io/concepts/feature-flags#tags) of the tag

  • colorstring

    The hexadecimal color code for the tag type.

  • valuestringObligatorio

    The value of the tag. The value must be between 2 and 50 characters long. Leading and trailing whitespace is ignored and will be trimmed before saving the tag value.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a tag typeUNLEASH_CREATE_TAG_TYPEAcción

Create a new tag type.

Parámetros de entrada

  • iconstring

    The icon of the tag type.

  • namestringObligatorio

    The name of the tag type.

  • colorstring

    The hexadecimal color code for the tag type.

  • descriptionstring

    The description of the tag type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new userUNLEASH_CREATE_USERAcción

Creates a new user with the given root role. By default, Unleash sends the user an irreversible welcome email containing a login link; set send_email=false to suppress it.

Parámetros de entrada

  • namestring

    The user's name (not the user's username).

  • emailstring

    The user's email address. Must be provided if username is not provided.

  • passwordstringpassword

    Password for the user. Treat this value as a secret and never log it.

  • usernamestring

    The user's username. Must be provided if email is not provided.

  • root_roleanyObligatorio

    The role to assign to the user. Can be either the role's ID or its unique name.

  • send_emailboolean

    Whether to send a welcome email with a login link to the user or not. Defaults to `true`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Delete an action setUNLEASH_DELETE_ACTION_SETAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Deletes an existing action set identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an addonUNLEASH_DELETE_ADDONAcción

Delete the addon specified by the ID in the request path.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an applicationUNLEASH_DELETE_APPLICATIONAcción

Delete the application specified in the request URL. Returns 200 OK if the application was successfully deleted or if it didn't exist

Parámetros de entrada

  • app_namestringObligatorio

    App Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a bannerUNLEASH_DELETE_BANNERAcción

Deletes an existing banner identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Discards a change from a change request by change idUNLEASH_DELETE_CHANGEAcción

This endpoint will discard one change from a change request if it matches the provided id.

Parámetros de entrada

  • change_idanyObligatorio

    Change Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • change_request_idanyObligatorio

    Change Request Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Deletes a change request by idUNLEASH_DELETE_CHANGE_REQUESTAcción

This endpoint will delete one change request if it matches the provided id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Context FieldUNLEASH_DELETE_CONTEXT_FIELDAcción

Permanently delete a root or project context field without removing its existing use in strategy configuration. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • project_idstring

    Project ID. Required only when scope is project.

  • context_fieldstringObligatorio

    Exact name of the context field to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Context Field Legal ValueUNLEASH_DELETE_CONTEXT_FIELD_LEGAL_VALUEAcción

Permanently delete a legal value from a root or project context field without removing its existing use in constraints. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • project_idstring

    Project ID. Required only when scope is project.

  • legal_valuestringObligatorio

    Exact legal value to permanently delete.

  • context_fieldstringObligatorio

    Exact name of the context field whose legal value is deleted.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete an environmentUNLEASH_DELETE_ENVIRONMENTAcción

Delete an environment identified by name.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Deletes an archived featureUNLEASH_DELETE_FEATUREAcción

Permanently this endpoint deletes the specified feature if it is archived. If the feature is not archived, it is left unchanged.

Parámetros de entrada

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete feature dependenciesUNLEASH_DELETE_FEATURE_DEPENDENCIESAcción

Remove all parent feature dependencies from one child feature flag.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the child feature flag.

  • child_feature_namestringObligatorio

    Exact child feature flag name whose parent dependencies will all be removed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a feature dependencyUNLEASH_DELETE_FEATURE_DEPENDENCYAcción

Remove one named parent feature dependency from a child feature flag.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the child and parent feature flags.

  • child_feature_namestringObligatorio

    Exact child feature flag name from which the dependency will be removed.

  • parent_feature_namestringObligatorio

    Exact parent feature flag name to remove from the child's dependencies.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a feature linkUNLEASH_DELETE_FEATURE_LINKAcción

Delete a feature link by id.

Parámetros de entrada

  • link_idstringObligatorio

    Link Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Deletes a list of featuresUNLEASH_DELETE_FEATURESAcción

Permanently this endpoint deletes the specified features, that are in archive.

Parámetros de entrada

  • featuresstring[]Obligatorio

    List of feature flag names

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete Feature StrategyUNLEASH_DELETE_FEATURE_STRATEGYAcción

Permanently delete one activation strategy instance from a feature flag in an environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • environmentstringObligatorio

    Environment name, such as development or production.

  • strategy_idstringObligatorio

    Strategy instance ID returned by Get Feature Environment.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a single groupUNLEASH_DELETE_GROUPAcción

Delete a single user group by group id. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • group_idanyObligatorio

    Group Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete impact metric configurationUNLEASH_DELETE_IMPACT_METRIC_CONFIGAcción

Permanently delete one impact metric chart configuration by config_id from the instance-level collection or from one feature flag.

Parámetros de entrada

  • targetstringObligatorioenum

    Configuration target: instance or feature.

    instancefeature
  • config_idstringObligatorio

    ULID of the impact metric configuration to permanently delete from the selected target.

  • project_idstring

    Project ID containing the feature flag. Required only when target is feature.

  • feature_namestring

    Exact feature flag name. Required only when target is feature.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Deletes inactive usersUNLEASH_DELETE_INACTIVE_USERSAcción

Deletes only the explicitly supplied IDs of users who have not logged in during the last 180 days. It does not delete every inactive user automatically. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • idsnumber[]Obligatorio

    IDs of inactive users to delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a milestone progressionUNLEASH_DELETE_MILESTONE_PROGRESSIONAcción

Deletes an existing milestone progression by source milestone ID.

Parámetros de entrada

  • idstringObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a personal access token (PAT) for the current userUNLEASH_DELETE_PATAcción

Permanently and immediately revoke one personal access token belonging to the current user by its numeric PAT ID. The credential stops authenticating at once. Composio cannot compare its opaque connection credential with provider token IDs, so the caller must independently verify that this PAT does not back the current Composio connection and explicitly confirm that check.

Parámetros de entrada

  • pat_idintegerObligatorio

    Numeric personal access token ID returned by the PAT listing action; this is not the token secret.

  • confirm_not_current_connection_credentialbooleanObligatorio

    Set to true only after independently verifying this PAT is not the credential backing the current Composio connection. Composio cannot compare the opaque connection credential with this provider token ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete projectUNLEASH_DELETE_PROJECTAcción

Permanently delete the provided project. All feature flags in the project must be archived before you can delete it. This permanently deletes the project and its archived flags. It can not be undone.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a release planUNLEASH_DELETE_RELEASE_PLANAcción

Delete a release plan from a specific feature flag and environment.

Parámetros de entrada

  • plan_idstringObligatorio

    Plan Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a release templateUNLEASH_DELETE_RELEASE_TEMPLATEAcción

Permanently deletes a global release template or a template scoped to one project. The project branch is a beta API.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to delete a global template or a template for one project. The project-scoped API is beta.

    globalproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • template_idstringObligatorio

    ID of the release template to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a custom roleUNLEASH_DELETE_ROLEAcción

Delete a custom role by id. You cannot delete built-in roles or roles that are in use. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • role_idanyObligatorio

    Role Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete safeguardUNLEASH_DELETE_SAFEGUARDAcción

Permanently delete one safeguard by safeguard_id from a feature environment or from one release plan. Set target to release_plan and provide plan_id for a release-plan safeguard; omit plan_id for feature_environment.

Parámetros de entrada

  • targetstringObligatorioenum

    Safeguard target: the feature environment itself or one release plan.

    feature_environmentrelease_plan
  • plan_idstring

    Release plan ID. Required only when target is release_plan.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • environmentstringObligatorio

    Environment name containing the safeguard.

  • feature_namestringObligatorio

    Exact feature flag name.

  • safeguard_idstringObligatorio

    ID of the safeguard to permanently delete.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete all SCIM groupsUNLEASH_DELETE_SCIM_GROUPSAcción

Deletes all groups managed by SCIM. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete all SCIM usersUNLEASH_DELETE_SCIM_USERSAcción

Deletes all users managed by SCIM. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete SegmentUNLEASH_DELETE_SEGMENTAcción

Permanently delete a segment by numeric ID. Unleash rejects deletion while the segment is in use.

Parámetros de entrada

  • segment_idintegerObligatorio

    Numeric segment ID returned by List Segments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a service accountUNLEASH_DELETE_SERVICE_ACCOUNTAcción

Deletes an existing service account identified by its id. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a token for a service accountUNLEASH_DELETE_SERVICE_ACCOUNT_TOKENAcción

Permanently and immediately revoke one service account token by service account ID and token ID. Workloads using that credential lose authentication immediately and cannot recover the deleted token. Composio cannot compare its opaque connection credential with provider token IDs, so the caller must independently verify that this token does not back the current Composio connection and explicitly confirm that check.

Parámetros de entrada

  • token_idanyObligatorio

    Service account token ID returned by the token listing action; this is not the token secret.

  • service_account_idanyObligatorio

    Service account ID that owns the token.

  • confirm_not_current_connection_credentialbooleanObligatorio

    Set to true only after independently verifying this service account token is not the credential backing the current Composio connection. Composio cannot compare the opaque connection credential with this provider token ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Delete a signal endpointUNLEASH_DELETE_SIGNAL_ENDPOINTAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Deletes an existing signal endpoint identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Delete a signal endpoint tokenUNLEASH_DELETE_SIGNAL_ENDPOINT_TOKENAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Deletes an existing signal endpoint token identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • signal_endpoint_idanyObligatorio

    Signal Endpoint Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a strategyUNLEASH_DELETE_STRATEGYAcción

Deletes the specified strategy definition

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a tagUNLEASH_DELETE_TAGAcción

Delete a tag by type and value. When a tag is deleted all references to the tag are removed.

Parámetros de entrada

  • typestringObligatorio

    Type sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • valuestringObligatorio

    Value sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a tag typeUNLEASH_DELETE_TAG_TYPEAcción

Deletes a tag type. If any features have tags of this type, those tags will be deleted.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a userUNLEASH_DELETE_USERAcción

Deletes the user with the given userId. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • idintegerObligatorio

    a user id

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Disconnect all clientsUNLEASH_DISCONNECT_ALLAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Disconnects all streaming clients.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Export feature flags from an environmentUNLEASH_EXPORT_FEATURESAcción

Export feature flag configuration from one environment, selecting by exactly one of feature names, tag, or project. The result contains feature definitions and strategies plus applicable environment configuration, context fields, tags, tag types, segments, dependencies, and links. Results are JSON; download_file=true delivers that JSON as a downloadable file, not CSV.

Parámetros de entrada

  • tagstring

    Export feature flags with this tag. Provide exactly one of features, tag, or project.

  • projectstring

    Export feature flags from this project. Provide exactly one of features, tag, or project.

  • featuresstring[]

    Feature flag names to export. An empty list selects all feature flags. Provide exactly one of features, tag, or project.

  • environmentstringObligatorio

    Environment whose feature flag configuration to export.

  • download_fileboolean

    Whether Unleash should deliver the JSON export as a downloadable file. This endpoint does not offer CSV exports.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generates a new SCIM API tokenUNLEASH_GENERATE_SCIM_TOKENAcción

Generates a new SCIM API token. Previously generated tokens will be invalidated. The response may contain secret material that is shown only when issued; store it securely and never log it.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Gets access overviewUNLEASH_GET_ACCESS_OVERVIEWAcción

Gets an overview of what access all users have to all projects and groups.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the number of change requests you can do something withUNLEASH_GET_ACTIONABLE_CHANGE_REQUESTSAcción

Returns the number of change requests in this project that your user can move into the next stage by approving or applying them.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a specific addonUNLEASH_GET_ADDONAcción

Retrieve information about the addon whose ID matches the ID in the request URL.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get total count of admin accountsUNLEASH_GET_ADMIN_COUNTAcción

Get a total count of admins with password, without password and admin service accounts.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch evaluate an Unleash context against a set of environments and projectsUNLEASH_GET_ADVANCED_PLAYGROUNDAcción

Use the provided `context`, `environments`, and `projects` to evaluate toggles on this Unleash instance. You can use comma-separated values to provide multiple values to each context field. Returns a combinatorial list of all toggles that match the parameters and what they evaluate to. The response also contains the input parameters that were provided.

Parámetros de entrada

  • contextobjectObligatorio

    The Unleash context as modeled in client SDKs

  • projectsany

    A list of projects to check for toggles in.

  • environmentsstring[]Obligatorio

    The environments to evaluate toggles in.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get application dataUNLEASH_GET_APPLICATIONAcción

Returns data about the specified application (`appName`). The data contains information on the name of the application, sdkVersion (which sdk reported these metrics, typically `unleash-client-node:3.4.1` or `unleash-client-java:7.1.0`), as well as data about how to display this application in a list.

Parámetros de entrada

  • app_namestringObligatorio

    App Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get application environment instances (Last 24h)UNLEASH_GET_APPLICATION_ENVIRONMENT_INSTANCESAcción

Returns an overview of the instances for the given `appName` and `environment` that have received traffic in the last 24 hours.

Parámetros de entrada

  • app_namestringObligatorio

    App Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get application overviewUNLEASH_GET_APPLICATION_OVERVIEWAcción

Return an application's projects, feature count, environment and SDK activity, and missing-feature, outdated-SDK, or missing-strategy issues.

Parámetros de entrada

  • app_namestringObligatorio

    App Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get basic user and group informationUNLEASH_GET_BASE_USERS_AND_GROUPSAcción

Get a subset of user and group information eligible even for non-admin users.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieves one change request by idUNLEASH_GET_CHANGE_REQUESTAcción

This endpoint will retrieve one change request if it matches the provided id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Evaluate an Unleash context against a change request previewUNLEASH_GET_CHANGE_REQUEST_PLAYGROUNDAcción

Use the provided `context` to evaluate toggles on this Unleash instance with a change request applied in preview mode. You can use comma-separated values to provide multiple values to each context field. Returns a combinatorial list of all toggles that match the parameters and what they evaluate to.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • contextobjectObligatorio

    The Unleash context as modeled in client SDKs

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieves number of project change requests in each stateUNLEASH_GET_CHANGE_REQUESTS_COUNTAcción

This endpoint will retrieve the number of project change requests that are: approved, applied, rejected, scheduled or awaiting review

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Get aggregated metered connections for a given time periodUNLEASH_GET_CONNECTIONS_FOR_PERIODAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Gets metered connections count for the selected period, either aggregated by day or by month.

Parámetros de entrada

  • tostringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • fromstringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • groupingstringObligatorioenum

    Whether to aggregate the data by month or by day

    dailymonthly

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Context FieldUNLEASH_GET_CONTEXT_FIELDAcción

Get one root or project context field by name. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • project_idstring

    Project ID. Required only when scope is project.

  • context_fieldstringObligatorio

    Exact name of the context field to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Detailed InvoicesUNLEASH_GET_DETAILED_INVOICESAcción

Return detailed Enterprise billing data: plan price and currency plus invoice dates, totals, tax, status, invoice links, primary package or seat line items, and usage, consumption, or overage line items.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the environment with `name`UNLEASH_GET_ENVIRONMENTAcción

Retrieves the environment with `name` if it exists in this Unleash instance

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get variants for a feature in an environmentUNLEASH_GET_ENVIRONMENT_FEATURE_VARIANTSAcción

Returns the variants for a feature in a specific environment. If the feature has no variants it will return an empty array of variants

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the external impact-metrics sourceUNLEASH_GET_EXTERNAL_IMPACT_METRICS_SOURCEAcción

Returns the current configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get FeatureUNLEASH_GET_FEATUREAcción

Get one feature flag with its metadata, lifecycle, dependencies, tags, environment enablement, and strategy configurations.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Feature EnvironmentUNLEASH_GET_FEATURE_ENVIRONMENTAcción

Get a feature flag's enablement state, complete strategy configurations, variants, release plans, and safeguards in one environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • environmentstringObligatorio

    Environment name, such as development or production.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get feature lifecycleUNLEASH_GET_FEATURE_LIFECYCLEAcción

Return the selected feature flag's lifecycle history, including each recorded stage, when the feature entered it, and any detailed stage status. Use this instead of the feature-detail read when the full sequence of lifecycle transitions is needed rather than only the current lifecycle state.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get feature flag strategiesUNLEASH_GET_FEATURE_STRATEGIESAcción

Get strategies defined for a feature flag in the specified environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a strategy configurationUNLEASH_GET_FEATURE_STRATEGYAcción

Get a strategy configuration for an environment in a feature flag.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • strategy_idstringObligatorio

    Strategy Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Last hour of usage and a list of applications that have reported seeing this feature flagUNLEASH_GET_FEATURE_USAGE_SUMMARYAcción

Separate counts for yes (enabled), no (disabled), as well as how many times each variant was selected during the last hour

Parámetros de entrada

  • feature_namestringObligatorio

    Exact feature flag name whose usage summary should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a single groupUNLEASH_GET_GROUPAcción

Get a single user group by group id.

Parámetros de entrada

  • group_idanyObligatorio

    Group Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Instance usage statisticsUNLEASH_GET_INSTANCE_ADMIN_STATSAcción

Provides statistics about various features of Unleash to allow for reporting of usage for self-hosted customers. The response contains data such as the number of users, groups, features, strategies, versions, etc.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Instance usage statisticsUNLEASH_GET_INSTANCE_ADMIN_STATS_CSVAcción

Download a CSV file of self-hosted instance usage statistics, including counts and version data for users, groups, feature flags, and strategies.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get instance informationUNLEASH_GET_INSTANCE_INSIGHTSAcción

Gets high level information about the usage of this Unleash instance, including user, project, and flag information.

Parámetros de entrada

  • tostring

    The end of the date range in yyyy-MM-dd format

  • from_valuestring

    The beginning of the date range in yyyy-MM-dd format

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get licensed user statisticsUNLEASH_GET_LICENSED_USER_STATSAcción

Return the available seat count, current license usage, and monthly licensed-user count history for this Unleash instance.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get lifecycle trendsUNLEASH_GET_LIFECYCLE_TRENDSAcción

Gets lifecycle trends information showing feature flag progression across development, production, and cleanup stages.

Parámetros de entrada

  • projectsstring

    Comma-separated list of project IDs to filter lifecycle trends

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get maintenance mode statusUNLEASH_GET_MAINTENANCEAcción

Tells you whether maintenance mode is enabled or disabled

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get your own user detailsUNLEASH_GET_MEAcción

Detailed information about the current user, user permissions and user feedback.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get OIDC auth settingsUNLEASH_GET_OIDC_SETTINGSAcción

Returns the current settings for OIDC Authentication.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieves pending change requests in configured environmentsUNLEASH_GET_PENDING_CHANGE_REQUESTS_FOR_USERAcción

This endpoint will retrieve the pending change requests in the configured environments for the project, for the current user performing the request.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Plausible analytics dataUNLEASH_GET_PLAUSIBLE_METRICSAcción

Fetches analytics data from Plausible API for favorite events over the last 7 days.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get your own user profileUNLEASH_GET_PROFILEAcción

Detailed information about the current user root role and project membership.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get users and groups in projectUNLEASH_GET_PROJECT_ACCESSAcción

Get all groups, users and their roles, and available roles for the given project.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get api tokens for projectUNLEASH_GET_PROJECT_API_TOKENSAcción

Returns the project-specific [API tokens](https://docs.getunleash.io/concepts/api-tokens-and-client-keys) that have been created for this project.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieves change request configuration for a projectUNLEASH_GET_PROJECT_CHANGE_REQUEST_CONFIGAcción

Given a projectId, this endpoint will retrieve change request configuration for the project

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get an overview of a projectUNLEASH_GET_PROJECT_OVERVIEWAcción

This endpoint returns an overview of the specified projects stats, project health, number of members, which environments are configured, and the features types in the project.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get project statusUNLEASH_GET_PROJECT_STATUSAcción

This endpoint returns information on the status the project, including activities, health, resources, and aggregated flag lifecycle data.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get feature metricsUNLEASH_GET_RAW_FEATURE_METRICSAcción

Get usage metrics for a specific feature for the last 48 hours, grouped by hour

Parámetros de entrada

  • feature_namestringObligatorio

    Exact feature flag name whose hourly usage metrics should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a release templateUNLEASH_GET_RELEASE_TEMPLATEAcción

Returns a global release template or a template scoped to one project. The project branch is a beta API.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to read a global template or a template for one project. The project-scoped API is beta.

    globalproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • template_idstringObligatorio

    ID of the release template to return.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get remote MCP server settingsUNLEASH_GET_REMOTE_MCP_SETTINGSAcción

Returns the current settings for the remote MCP server.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Get aggregated metered requests for a given time periodUNLEASH_GET_REQUESTS_FOR_PERIODAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Gets metered requests count for the selected period, either aggregated by day or by month.

Parámetros de entrada

  • tostringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • fromstringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • groupingstringObligatorioenum

    Whether to aggregate the data by month or by day

    dailymonthly

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Gets usage dataUNLEASH_GET_REQUESTS_PER_SECONDAcción

Gets usage data per app/endpoint from a prometheus compatible metrics endpoint

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a single roleUNLEASH_GET_ROLE_BY_IDAcción

Get a single role by role id.

Parámetros de entrada

  • role_idanyObligatorio

    Role Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get project-role mappingsUNLEASH_GET_ROLE_PROJECT_ACCESSAcción

For the provided role, retrieves a list of projects that use this role. For each project it also contains information about how the role used in that project, such as how many users, groups, or service accounts that use the role.

Parámetros de entrada

  • role_idanyObligatorio

    Role Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SAML auth settingsUNLEASH_GET_SAML_SETTINGSAcción

Returns the current settings for SAML authentication.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get scheduled change requests matching a queryUNLEASH_GET_SCHEDULED_CHANGE_REQUESTSAcción

List scheduled change requests that touch the supplied feature flag name or activation strategy ID. At least one criterion is required; when both are supplied, Unleash returns requests matching either criterion.

Parámetros de entrada

  • featurestring

    Exact feature flag name touched by a scheduled change request.

  • project_idstringObligatorio

    Project ID containing the scheduled change requests.

  • strategy_idstring

    Exact activation strategy ID touched by a scheduled change request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SCIM settingsUNLEASH_GET_SCIM_SETTINGSAcción

Returns the current settings for SCIM provisioning.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get SegmentUNLEASH_GET_SEGMENTAcción

Get one reusable segment and its complete constraint definition by numeric ID.

Parámetros de entrada

  • segment_idintegerObligatorio

    Numeric segment ID returned by List Segments.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Returns the list of permissions for the service accountUNLEASH_GET_SERVICE_ACCOUNT_PERMISSIONSAcción

Gets a list of permissions for a service account. Project and environment can be specified.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstring

    Project sent in the request query. See the cited Admin OpenAPI schema for accepted values.

  • environmentstring

    Environment sent in the request query. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Simple auth settingsUNLEASH_GET_SIMPLE_SETTINGSAcción

Is simple authentication (username/password) enabled for this server.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get strategies that use a context fieldUNLEASH_GET_STRATEGIES_BY_CONTEXT_FIELDAcción

Retrieves strategies using a root context field or a project context field. A missing context field returns an empty strategy list; the project branch is a beta API.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to inspect the root context field or a context field in one project. The project-scoped API is beta.

    rootproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `root`.

  • context_fieldstringObligatorio

    Exact context field name whose strategies should be returned.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a strategy definitionUNLEASH_GET_STRATEGYAcción

Retrieves the definition of the strategy specified in the URL

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a tag by type and valueUNLEASH_GET_TAGAcción

Get a tag by type and value. Can be used to check whether a given tag already exists in Unleash or not.

Parámetros de entrada

  • typestringObligatorio

    Type sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • valuestringObligatorio

    Value sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a tag typeUNLEASH_GET_TAG_TYPEAcción

Get a tag type by name.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get telemetry settingsUNLEASH_GET_TELEMETRY_SETTINGSAcción

Provides the configured settings for [telemetry information collection](https://docs.getunleash.io/privacy-and-compliance/data-privacy)

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get aggregated traffic data for a given time periodUNLEASH_GET_TRAFFIC_DATA_USAGE_FOR_PERIODAcción

Gets traffic usage data for the selected period, either aggregated by day or by month.

Parámetros de entrada

  • tostringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • fromstringObligatorio

    The starting date of the traffic data usage search in IS:yyyy-MM-dd format

  • groupingstringObligatorioenum

    Whether to aggregate the data by month or by day

    dailymonthly

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get userUNLEASH_GET_USERAcción

Will return a single user by id.

Parámetros de entrada

  • idintegerObligatorio

    a user id

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Import feature flagsUNLEASH_IMPORT_TOGGLESAcción

Import exported JSON feature flag configuration into the target project and environment. This can create or replace feature definitions, strategies, variants, tags, dependencies, context-field references, and environment state; when change requests are enabled, Unleash creates a draft change request instead of applying changes immediately.

Parámetros de entrada

  • dataobjectObligatorio

    The result of the export operation, providing you with the feature flag definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.)

  • projectstringObligatorio

    The exported [project](https://docs.getunleash.io/concepts/projects)

  • environmentstringObligatorio

    The exported [environment](https://docs.getunleash.io/concepts/environments)

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List events for an action setUNLEASH_LIST_ACTION_SET_EVENTSAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Returns a list of action events triggered by a specific action set, identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • limitinteger

    The number of results to return in a page. By default it is set to 50.

  • cursorstring

    Continuation cursor returned by the previous call. Pass it unchanged to fetch the next page.

  • offsetinteger

    The number of results to skip on the first page. Defaults to 0.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List action setsUNLEASH_LIST_ACTION_SETSAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Returns the list of all action sets.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all addons and providersUNLEASH_LIST_ADDONSAcción

Retrieve all addons and providers that are defined on this Unleash instance.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all environmentsUNLEASH_LIST_ALL_ENVIRONMENTSAcción

Retrieves all environments that exist in this Unleash instance.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all feature typesUNLEASH_LIST_ALL_FEATURE_TYPESAcción

Retrieves all feature types that exist in this Unleash instance, along with their descriptions and lifetimes.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API tokensUNLEASH_LIST_API_TOKENSAcción

Retrieves all API tokens that exist in the Unleash instance. Treat token or credential values as secrets and never log them.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List API tokens by nameUNLEASH_LIST_API_TOKENS_BY_NAMEAcción

Retrieves all API tokens that match a given token name. Because token names are not unique, this endpoint will always return a list. If no tokens with the provided name exist, the list will be empty. Otherwise, it will contain all the tokens with the given name. Treat token or credential values as secrets and never log them.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all applicationsUNLEASH_LIST_APPLICATIONSAcción

Returns one page of applications across the Unleash instance or for one project, with a route-bound cursor for continuation.

Parámetros de entrada

  • limitinteger

    Applications per page. Defaults to 1000 for instance scope and 50 for project scope.

  • querystring

    The search query for the application name

  • scopestringObligatorioenum

    Whether to list applications across the instance or in one project.

    instanceproject
  • cursorstring

    Opaque continuation cursor returned by the previous call. Pass it unchanged to continue with the same scope, project, and filters.

  • sort_bystring

    The field to sort the results by. By default it is set to "appName".

  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `instance`.

  • sort_orderstring

    The sort order for the sortBy. By default it is det to "asc".

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List available change request reviewersUNLEASH_LIST_AVAILABLE_CHANGE_REQUEST_REVIEWERSAcción

List users who are available to review or approve a change request in the specified project environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List available impact metricsUNLEASH_LIST_AVAILABLE_IMPACT_METRICSAcción

Returns all available impact metrics and their metadata.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all bannersUNLEASH_LIST_BANNERSAcción

Returns a list of all configured banners.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List requested change request reviewersUNLEASH_LIST_CHANGE_REQUEST_REVIEWERSAcción

Get the users currently requested to review a change request. These are requested reviewers, not users who have already approved it.

Parámetros de entrada

  • idanyObligatorio

    Change request ID returned by a change-request read or search action.

  • project_idstringObligatorio

    Project ID containing the change request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List change requests for a projectUNLEASH_LIST_CHANGE_REQUESTS_FOR_PROJECTAcción

This endpoint will retrieve all change requests regardless of status for a given project. There's an upper limit of last 300 change requests ordered by creation date.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Context FieldsUNLEASH_LIST_CONTEXT_FIELDSAcción

List configured root context fields or project context fields. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • project_idstring

    Project ID. Required only when scope is project.

  • include_other_scopeboolean

    Also return project fields when scope is root, or root fields when scope is project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a list of all users that have created eventsUNLEASH_LIST_EVENT_CREATORSAcción

Returns a list of all users that have created events in the system.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all features lifecycle stage countUNLEASH_LIST_FEATURE_LIFECYCLE_STAGE_COUNTAcción

Return instance-wide feature flag counts grouped into the initial, pre-live, live, completed, and archived lifecycle stages. Each value is the number of feature flags currently in that stage.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List FeaturesUNLEASH_LIST_FEATURESAcción

List every feature flag in one project with its high-level state in each environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flags.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all tags for a featureUNLEASH_LIST_FEATURE_TAGSAcción

Retrieves all the tags for a feature name. If the feature does not exist it returns an empty list.

Parámetros de entrada

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a list of groupsUNLEASH_LIST_GROUPSAcción

Get a list of user groups for Role-Based Access Control.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List impact metric configurationsUNLEASH_LIST_IMPACT_METRIC_CONFIGSAcción

List impact metric chart configurations for either the Unleash instance (not associated with a feature flag) or one feature flag.

Parámetros de entrada

  • targetstringObligatorioenum

    Configuration target: instance for charts not associated with a feature flag, or feature for one feature flag.

    instancefeature
  • project_idstring

    Project ID containing the feature flag. Required only when target is feature.

  • feature_namestring

    Exact feature flag name. Required only when target is feature.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List inactive usersUNLEASH_LIST_INACTIVE_USERSAcción

Gets all inactive users. An inactive user is a user that has not logged in in the last 180 days.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List integration events for a specific integration configurationUNLEASH_LIST_INTEGRATION_EVENTSAcción

Returns a list of integration events belonging to a specific integration configuration, identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • limitinteger

    The number of results to return in a page. By default it is set to 50.

  • offsetinteger

    The number of results to skip when returning a page. By default it is set to 0.

  • next_cursorstring

    Opaque cursor from the previous page. Pass it unchanged and do not change id, offset, or limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List invoicesUNLEASH_LIST_INVOICESAcción

Return Enterprise invoice summaries for billing review, including formatted amount due, paid state, current status, optional due date, and links to view or download each invoice as PDF. Use GET_DETAILED_INVOICES when plan pricing and line-item breakdowns are needed.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all login eventsUNLEASH_LIST_LOGIN_HISTORYAcción

Return all login and logout events in the Unleash system as structured JSON, including success, client, and failure details when available.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List notificationsUNLEASH_LIST_NOTIFICATIONSAcción

A user may get relevant notifications from the projects they are a member of

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List outdated SDKsUNLEASH_LIST_OUTDATED_SDKSAcción

Lists outdated SDK versions and the applications using them across the instance or in one project.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to list outdated SDKs across the instance or in one project.

    instanceproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `instance`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List parent optionsUNLEASH_LIST_PARENT_OPTIONSAcción

List available parents who have no transitive dependencies.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the child feature flag.

  • child_feature_namestringObligatorio

    Exact child feature flag name for which valid parent candidates are requested.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List parent feature variantsUNLEASH_LIST_PARENT_VARIANT_OPTIONSAcción

List available parent variants across all strategy variants and feature environment variants.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the parent feature flag.

  • parent_feature_namestringObligatorio

    Exact parent feature flag name whose available variants will be listed.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all personal access tokens (PATs) for the current userUNLEASH_LIST_PATSAcción

Returns all of the [personal access tokens](https://docs.getunleash.io/concepts/api-tokens-and-client-keys#personal-access-tokens) (PATs) belonging to the current user. Treat token or credential values as secrets and never log them.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List pending change requests referencing a featureUNLEASH_LIST_PENDING_CHANGE_REQUESTS_FOR_FEATUREAcción

This endpoint will retrieve all pending change requests (change requests with a status of Draft | In review | Approved) referencing the given feature flag name.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List available permissionsUNLEASH_LIST_PERMISSIONSAcción

Returns a list of available permissions.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Project EnvironmentsUNLEASH_LIST_PROJECT_ENVIRONMENTSAcción

List environments available to a project with project-specific visibility and enabled-toggle counts.

Parámetros de entrada

  • project_idstringObligatorio

    Project ID containing the feature flag.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a list of all flag creators for a projectUNLEASH_LIST_PROJECT_FLAG_CREATORSAcción

This endpoint returns every user who created a flag in the project.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ProjectsUNLEASH_LIST_PROJECTSAcción

List projects available to the connected Admin API principal, optionally including archived projects.

Parámetros de entrada

  • archivedboolean

    Whether to include archived projects.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List public signup tokensUNLEASH_LIST_PUBLIC_SIGNUP_TOKENSAcción

Retrieves all existing public signup tokens. Treat token or credential values as secrets and never log them.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List release plansUNLEASH_LIST_RELEASE_PLANSAcción

Returns a list of all release plans for a specific feature flag and environment.

Parámetros de entrada

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List release templatesUNLEASH_LIST_RELEASE_TEMPLATESAcción

Lists global release templates or templates for one project. The project branch is a beta API; set include_global to include global templates with project results.

Parámetros de entrada

  • scopestringObligatorioenum

    Whether to list global templates or templates for one project. The project-scoped API is beta.

    globalproject
  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • include_globalboolean

    For project scope, also include global templates. Not valid for global scope.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a list of rolesUNLEASH_LIST_ROLESAcción

Get a list of project, root and custom roles for Role-Based Access Control.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List SegmentsUNLEASH_LIST_SEGMENTSAcción

List all reusable segments in the Unleash instance with their constraints and usage counts.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List strategy segmentsUNLEASH_LIST_SEGMENTS_BY_STRATEGY_IDAcción

Retrieve all segments that are referenced by the specified strategy. Returns an empty list of segments if the strategy ID doesn't exist.

Parámetros de entrada

  • strategy_idstringObligatorio

    Strategy Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List service accountsUNLEASH_LIST_SERVICE_ACCOUNTSAcción

Returns the list of all service accounts.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all tokens for a service accountUNLEASH_LIST_SERVICE_ACCOUNT_TOKENSAcción

Returns the list of all tokens for a service account identified by the id. Treat token or credential values as secrets and never log them.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List signal endpointsUNLEASH_LIST_SIGNAL_ENDPOINTSAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Returns a list of all configured signal endpoints.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List signals from a specific signal endpointUNLEASH_LIST_SIGNAL_ENDPOINT_SIGNALSAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Returns a list of signals originated from a specific signal endpoint, identified by its id.

Parámetros de entrada

  • limitinteger

    The number of results to return in a page. By default it is set to 50.

  • offsetinteger

    The number of results to skip when returning a page. By default it is set to 0.

  • next_cursorstring

    Opaque cursor from the previous page. Pass it unchanged and do not change signal_endpoint_id, offset, or limit.

  • signal_endpoint_idanyObligatorio

    Signal Endpoint Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List tokens for a specific signal endpointUNLEASH_LIST_SIGNAL_ENDPOINT_TOKENSAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Returns a list of all configured signal endpoint tokens for a specific signal endpoint, identified by its id.

Parámetros de entrada

  • signal_endpoint_idanyObligatorio

    Signal Endpoint Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] List signalsUNLEASH_LIST_SIGNALSAcción

**[BETA]** Returns one page of signals in the requested creation-date range. The API may change or be removed; pass next_cursor unchanged to continue the same query.

Parámetros de entrada

  • tostring

    The ending date of the creation date range in IS:yyyy-MM-dd format

  • limitinteger

    The number of signals to return in a page. Defaults to 50; maximum 1000.

  • offsetinteger

    The number of signals to skip on the first page. Defaults to 0.

  • from_valuestring

    The starting date of the creation date range in IS:yyyy-MM-dd format

  • next_cursorstring

    Opaque cursor from the previous page. Pass it unchanged and do not change the date filters, offset, or limit.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List strategies that reference a segmentUNLEASH_LIST_STRATEGIES_BY_SEGMENT_IDAcción

Retrieve all strategies that reference the specified segment.

Parámetros de entrada

  • idintegerObligatorio

    a segment id

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List Strategy TypesUNLEASH_LIST_STRATEGY_TYPESAcción

List predefined and custom strategy types available for feature configuration.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all tagsUNLEASH_LIST_TAGSAcción

List all tags available in Unleash.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all tags of a given typeUNLEASH_LIST_TAGS_BY_TYPEAcción

List all tags of a given type. If the tag type does not exist it returns an empty list.

Parámetros de entrada

  • typestringObligatorio

    Type sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all tag typesUNLEASH_LIST_TAG_TYPESAcción

Get a list of all available tag types.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List unknown flagsUNLEASH_LIST_UNKNOWN_FLAGSAcción

Returns a list of unknown flag reports from the last 24 hours, if any. Maximum of 1000.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all pending user access requestsUNLEASH_LIST_USER_ACCESS_REQUESTSAcción

Returns a list of all pending user access requests.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List roles for the currently logged-in userUNLEASH_LIST_USER_ROLESAcción

Gets roles assigned to currently logged in user. Both explicitly and transitively through group memberships.

Parámetros de entrada

  • project_idstringObligatorio

    The id of the project you want to check permissions for

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all users and [root roles](https://docs.getunleash.io/concepts/rbac#predefined-roles)UNLEASH_LIST_USERSAcción

Will return all users and all available root roles for the Unleash instance.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark notifications as readUNLEASH_MARK_NOTIFICATIONS_AS_READAcción

Allow to select which notifications were read and saving a read date

Parámetros de entrada

  • notificationsinteger[]Obligatorio

    A list of IDs belonging to the notifications you want to mark as read.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create (overwrite) variants for a feature in an environmentUNLEASH_OVERWRITE_ENVIRONMENT_FEATURE_VARIANTSAcción

Replace the feature flag's complete variant list in one environment. An empty variants list removes all variants. If variants are supplied, at least one must use variable weight; fixed weights must total less than 1000, and Unleash distributes the remainder among variable-weight variants.

Parámetros de entrada

  • variantsobject[]Obligatorio

    Complete replacement variant list. Pass an empty list to remove all variants from this feature in the environment.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create (overwrite) variants for a feature flag in multiple environmentsUNLEASH_OVERWRITE_FEATURE_VARIANTS_ON_ENVIRONMENTSAcción

Replace the feature flag's complete variant list in every environment named by environments. The same list is written to all targets; an empty variants list removes all variants from every named environment.

Parámetros de entrada

  • variantsobject[]Obligatorio

    Complete replacement variant list for every named environment. Pass an empty list to remove all variants from those environments.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentsstring[]Obligatorio

    One or more environment names whose complete variant lists will be replaced.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Patch a feature's variants in an environmentUNLEASH_PATCH_ENVIRONMENTS_FEATURE_VARIANTSAcción

Apply a list of patches to the features environments in the specified environment. The patch objects should conform to the [JSON-patch format (RFC 6902)](https://www.rfc-editor.org/rfc/rfc6902).

Parámetros de entrada

  • patchesobject[]Obligatorio

    One or more ordered RFC 6902 operations. Each operation requires op and path; add, replace, and test use value, while copy and move use from_.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Modify a feature flagUNLEASH_PATCH_FEATUREAcción

Change specific properties of a feature flag.

Parámetros de entrada

  • patchesobject[]Obligatorio

    One or more ordered RFC 6902 operations against feature properties. Each operation requires op and path; add, replace, and test use value, while copy and move use from_.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Change specific properties of a strategyUNLEASH_PATCH_FEATURE_STRATEGYAcción

Change specific properties of a strategy configuration in a feature flag.

Parámetros de entrada

  • patchesobject[]Obligatorio

    One or more ordered RFC 6902 operations against this strategy configuration. Each operation requires op and path; add, replace, and test use value, while copy and move use from_.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • strategy_idstringObligatorio

    Strategy Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Query impact metrics time series dataUNLEASH_QUERY_IMPACT_METRICS_TIME_SERIESAcción

Queries an impact metric source for time series data based on the provided metric name, time range, and aggregation mode.

Parámetros de entrada

  • modestringenum

    Query mode. `edit` (default) also returns the available labels for the metric (used by filter UIs). `display` skips label discovery and returns time-series data only (cheaper; use for dashboard rendering).

    displayedit
  • rangestringObligatorioenum

    The time range for the query.

    hourdayweekmonththreeMonthssixMonths
  • labelsobject

    Label names mapped to arrays of accepted label values for filtering.

  • sourcestringObligatorioenum

    Whether the metric comes from the internal Unleash impact metrics or an external source.

    internalexternal
  • metric_namestringObligatorio

    The Prometheus metric name to query.

  • aggregation_modestringObligatorioenum

    The aggregation mode for the query.

    rpscountavgsump50p95p99

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reads the Unleash licenseUNLEASH_READ_LICENSEAcción

Reads the Unleash license. Only available for self-hosted Enterprise customers.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Register a new impact metricUNLEASH_REGISTER_IMPACT_METRICAcción

Registers a new impact metric by pushing 0-values.

Parámetros de entrada

  • namestringObligatorio

    The metric name. Must start with a letter or underscore and contain only alphanumerics, underscores or colons.

  • typestringObligatorioenum

    The type of metric to register.

    countergaugehistogram

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reject a user access requestUNLEASH_REJECT_USER_ACCESS_REQUESTAcción

Rejects an existing user access request identified by its id. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove an environment from a projectUNLEASH_REMOVE_ENVIRONMENT_FROM_PROJECTAcción

This endpoint removes the specified environment from the project.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove project access for a groupUNLEASH_REMOVE_GROUP_ACCESSAcción

Removes project access for a group by removing all of its roles for the project.

Parámetros de entrada

  • group_idanyObligatorio

    Group Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove project access for a userUNLEASH_REMOVE_USER_ACCESSAcción

Removes project access for a user by removing all of its roles for the project.

Parámetros de entrada

  • user_idanyObligatorio

    User Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Generate user password-reset URLUNLEASH_RESET_USER_PASSWORDAcción

Generates and returns a password-reset URL for the user identified by email; it does not change the password. Treat the returned URL as secret material: store it securely and never log it.

Parámetros de entrada

  • emailstringObligatorio

    Email address of the user who needs a password-reset URL.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Resume paused milestone progressionsUNLEASH_RESUME_MILESTONE_PROGRESSIONSAcción

Resumes all paused milestone progressions for a release plan

Parámetros de entrada

  • plan_idstringObligatorio

    Plan Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revives a featureUNLEASH_REVIVE_FEATUREAcción

This endpoint revives the specified feature from archive.

Parámetros de entrada

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Revives a list of featuresUNLEASH_REVIVE_FEATURESAcción

This endpoint revives the specified features.

Parámetros de entrada

  • featuresstring[]Obligatorio

    List of feature flag names

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Save impact metric configurationUNLEASH_SAVE_IMPACT_METRIC_CONFIGAcción

Create or update an instance-level or feature-level impact metric chart configuration. Omit id to create one; provide its id to update it.

Parámetros de entrada

  • idstring

    Existing configuration ULID to update. Omit it to create a new configuration.

  • titlestring

    Optional impact metric chart title.

  • sourcestringenum

    Prometheus data source for this metric. Defaults to internal.

    internalexternal
  • targetstringObligatorioenum

    Configuration target: instance for a chart not associated with a feature flag, or feature for one feature flag.

    instancefeature
  • project_idstring

    Project ID containing the feature flag. Required only when target is feature.

  • time_rangestringObligatorioenum

    Time range for the metric data.

    hourdayweekmonth
  • y_axis_minstringObligatorioenum

    Whether the chart y-axis minimum is automatic or zero.

    autozero
  • metric_namestringObligatorio

    Prometheus metric series to query.

  • feature_namestring

    Exact feature flag name. Required only when target is feature.

  • label_selectorsobjectObligatorio

    Labels and values used to filter the metric data.

  • aggregation_modestringObligatorioenum

    Aggregation applied to the metric data.

    rpscountavgsump95p99p50

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search change requestsUNLEASH_SEARCH_CHANGE_REQUESTSAcción

Search and filter change requests by creator and approver.

Parámetros de entrada

  • limitinteger

    The number of change requests to return in a page. By default it is set to 50. The maximum is 1000.

  • statestringenum

    Filter by open / closed change requests. Change requests that are in 'draft', 'in review', 'approved', or 'scheduled' states are considered open. Change requests that are in 'cancelled', 'applied', or 'rejected' states are considered closed.

    IS:openIS:closed
  • cursorstring

    Continuation cursor returned by the previous call. Pass it unchanged to fetch the next page.

  • offsetinteger

    The number of change requests to skip on the first page. Defaults to 0.

  • created_bystring

    Filter by change request creator user ID

  • requested_approver_idstring

    Filter by requested approver user ID

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search for eventsUNLEASH_SEARCH_EVENTSAcción

Allows searching for events that match the query parameter criteria.

Parámetros de entrada

  • idstring

    Filter by event ID using supported operators: IS, IS_ANY_OF.

  • tostring

    The ending date of the creation date range in IS:yyyy-MM-dd format

  • fromstring

    The starting date of the creation date range in IS:yyyy-MM-dd format

  • typestring

    Filter by event type using supported operators: IS, IS_ANY_OF.

  • limitinteger

    The number of feature environments to return in a page. By default it is set to 50. The maximum is 1000.

  • querystring

    Find events by a free-text search query. The query will be matched against the event data payload (if any).

  • cursorstring

    Opaque continuation cursor returned by the previous call. Pass it unchanged to continue.

  • featurestring

    Filter by feature name using supported operators: IS, IS_ANY_OF

  • projectstring

    Filter by projects ID using supported operators: IS, IS_ANY_OF.

  • group_idstring

    Filter by group ID using supported operators: IS, IS_ANY_OF.

  • created_bystring

    Filter by the ID of the event creator, using supported operators: IS, IS_ANY_OF.

  • environmentstring

    Filter by environment name using supported operators: IS, IS_ANY_OF.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search FeaturesUNLEASH_SEARCH_FEATURESAcción

Search and filter feature flags across projects. Returns one offset-paginated page; pass cursor unchanged to continue the same search.

Parámetros de entrada

  • tagstring

    Tag filter in OPERATOR:type:value form. Supported operators include INCLUDE, DO_NOT_INCLUDE, INCLUDE_ALL_OF, INCLUDE_ANY_OF, EXCLUDE_IF_ANY_OF, and EXCLUDE_ALL.

  • typestring

    Feature-type filter in OPERATOR:value form. Supported operators are IS, IS_NOT, IS_ANY_OF, and IS_NONE_OF.

  • limitinteger

    Maximum number of features in this page (1-100).

  • querystring

    Text to match against feature names or tags.

  • statestring

    Active or stale filter in OPERATOR:value form. Supported operators are IS, IS_NOT, IS_ANY_OF, and IS_NONE_OF.

  • cursorstring

    Opaque continuation cursor returned by the previous call. Pass it unchanged and omit the other filters when continuing.

  • statusstring[]

    Environment status filters as environment:status values.

  • projectstring

    Project filter in OPERATOR:value form. Supported operators are IS, IS_NOT, IS_ANY_OF, and IS_NONE_OF.

  • segmentstring

    Segment filter in OPERATOR:value form using the tag-filter operators.

  • sort_bystring

    Provider field used to sort results.

  • favoritestring

    Favorite filter, such as IS:true or IS_ANY_OF:true,false.

  • lifecyclestring

    Lifecycle-stage filter in OPERATOR:value form. Supported operators are IS, IS_NOT, IS_ANY_OF, and IS_NONE_OF.

  • created_atstring

    Creation-date filter as IS_BEFORE:YYYY-MM-DD or IS_ON_OR_AFTER:YYYY-MM-DD.

  • created_bystring

    Creator filter in OPERATOR:value form.

  • sort_orderstringenum

    Sort direction.

    ascdesc
  • last_seen_atstring

    Last-seen filter as IS_BEFORE:YYYY-MM-DD or IS_ON_OR_AFTER:YYYY-MM-DD.

  • favorites_firstboolean

    Whether favorite flags should sort first.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search usersUNLEASH_SEARCH_USERSAcción

It will preform a simple search based on name and email matching the given query. Requires minimum 2 characters.

Parámetros de entrada

  • qstring

    The pattern to search in the username or email

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Action Set StateUNLEASH_SET_ACTION_SET_STATEAcción

Enable or disable one project action set.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • enabledbooleanObligatorio

    True for the positive state; false for the inverse state.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Banner StateUNLEASH_SET_BANNER_STATEAcción

Enable or disable an instance banner.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • enabledbooleanObligatorio

    True for the positive state; false for the inverse state.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set change request reviewersUNLEASH_SET_CHANGE_REQUEST_REVIEWERSAcción

Replace the requested reviewers for a change request with the complete supplied user-ID list. Omitted existing IDs are removed, an empty list removes every reviewer, and at most 10 reviewers are allowed.

Parámetros de entrada

  • idanyObligatorio

    Change request ID returned by a change-request read or search action.

  • reviewersinteger[]Obligatorio

    The complete desired set of reviewer user IDs. Include IDs to add and omit IDs to remove; pass an empty list to remove all reviewers.

  • project_idstringObligatorio

    Project ID containing the change request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Sets allowed CORS originsUNLEASH_SET_CORSAcción

Sets Cross-Origin Resource Sharing headers for Frontend SDK API.

Parámetros de entrada

  • frontend_api_originsstring[]

    The list of origins that the front-end API should accept requests from.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Email SubscriptionUNLEASH_SET_EMAIL_SUBSCRIPTIONAcción

Subscribe or unsubscribe the current principal from an email notification category.

Parámetros de entrada

  • subscribedbooleanObligatorio

    True for the positive state; false for the inverse state.

  • subscriptionstringObligatorio

    Subscription sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Environment StateUNLEASH_SET_ENVIRONMENT_STATEAcción

Enable or disable an environment across the Unleash instance.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • enabledbooleanObligatorio

    True for the positive state; false for the inverse state.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set the external impact-metrics sourceUNLEASH_SET_EXTERNAL_IMPACT_METRICS_SOURCEAcción

Updates the configuration of the external impact-metrics source (any Prometheus-compatible endpoint).

Parámetros de entrada

  • urlstring

    Base URL of the external impact-metrics source. Basic-Auth credentials may be embedded in the URL (e.g. `https://user:pass@metrics.example.com`); they are extracted into an `Authorization` header on outbound requests. Required (non-empty, valid URL) when `enabled` is true; an empty string is discarded when `enabled` is false.

  • enabledbooleanObligatorio

    Whether the external impact-metrics source is active. When `true`, `url` must be a valid non-empty URL.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Feature Environment StateUNLEASH_SET_FEATURE_ENVIRONMENT_STATEAcción

Enable or disable one feature flag in one environment.

Parámetros de entrada

  • enabledbooleanObligatorio

    True to enable the feature flag in the environment; false to disable it.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • environmentstringObligatorio

    Environment name, such as development or production.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Feature FavoriteUNLEASH_SET_FEATURE_FAVORITEAcción

Add or remove one feature flag from the current principal's favorites.

Parámetros de entrada

  • favoritebooleanObligatorio

    True for the positive state; false for the inverse state.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Feature Lifecycle CompletionUNLEASH_SET_FEATURE_LIFECYCLE_COMPLETIONAcción

Mark a feature lifecycle as completed with a kept or discarded outcome, or mark it incomplete again.

Parámetros de entrada

  • statusstringenum

    Required when completed is true: final outcome.

    keptdiscarded
  • completedbooleanObligatorio

    True to complete the lifecycle; false to mark it incomplete.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • feature_namestringObligatorio

    Exact feature flag name.

  • status_valuestring

    Optional metadata associated with the completion outcome.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Features Environment StateUNLEASH_SET_FEATURES_ENVIRONMENT_STATEAcción

Enable or disable the supplied feature flags in one project environment.

Parámetros de entrada

  • enabledbooleanObligatorio

    True for the positive state; false for the inverse state.

  • featuresstring[]Obligatorio

    The features that we want to bulk toggle

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Mark features as stale / not staleUNLEASH_SET_FEATURES_STALE_STATEAcción

This endpoint marks the provided list of features as either [stale](https://docs.getunleash.io/concepts/technical-debt#stale-and-potentially-stale-flags) or not stale depending on the request body you send. Any provided features that don't exist are ignored.

Parámetros de entrada

  • stalebooleanObligatorio

    Whether the list of features should be marked as stale or not stale. If `true`, the features will be marked as stale. If `false`, the features will be marked as not stale.

  • featuresstring[]Obligatorio

    A list of features to mark as (not) stale

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Enable or disable maintenance modeUNLEASH_SET_MAINTENANCE_STATEAcción

Enable or disable maintenance mode for the entire Unleash instance. Enabling it makes the instance mostly read-only and blocks all users from changing configuration. The effect is reversible: disabling maintenance mode restores configuration writes without undoing existing configuration.

Parámetros de entrada

  • enabledbooleanObligatorio

    Set true to enable instance-wide maintenance mode and block users from changing configuration. Set false to disable it and restore configuration writes.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set OIDC settingsUNLEASH_SET_OIDC_SETTINGSAcción

Configure or partially update OpenID Connect login, user auto-creation, roles, group syncing, PKCE, and scopes. Disabling OIDC or replacing invalid credentials can immediately prevent users from signing in; treat the client secret as sensitive.

Parámetros de entrada

  • enabledboolean

    Enable or disable OIDC login for this Unleash instance.

  • client_idstring

    OIDC application client ID. Required with client_secret for initial configuration.

  • acr_valuesstring

    Space-separated Authentication Context Class Reference values.

  • auto_createboolean

    Automatically create users from login-token email addresses.

  • enable_pkceboolean

    Enable Proof Key for Code Exchange protection.

  • extra_scopesstring

    Space-separated scopes requested in addition to openid, email, and profile.

  • client_secretstringpassword

    Sensitive OIDC client secret. Required for initial configuration; never log or expose it.

  • discovery_urlstring

    OIDC provider's .well-known discovery URL.

  • email_domainsstring

    Comma-separated email domains approved for auto-creation.

  • group_json_pathstring

    Path in the OIDC token response containing group memberships.

  • add_groups_scopeboolean

    Request the groups scope during OIDC login.

  • default_root_rolestringenum

    Built-in root role assigned to auto-created users.

    ViewerEditorAdmin
  • default_root_role_idnumber

    Numeric root role ID for auto-created users; takes precedence over default_root_role.

  • enable_group_syncingboolean

    Synchronize Unleash groups from OIDC claims.

  • enable_single_sign_outboolean

    Sign users out of all OIDC client sessions on logout.

  • id_token_signing_algorithmstringenum

    Algorithm used by the provider to sign ID tokens.

    RS256RS384RS512

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set users and groups to roles in the current projectUNLEASH_SET_PROJECT_ACCESSAcción

Replaces the complete project access configuration with the supplied role assignments. Existing assignments omitted from roles are removed; an empty roles list removes all project access assignments. Within a role, an empty users or groups list removes every assignment of that type for that role.

Parámetros de entrada

  • rolesobject[]Obligatorio

    Complete replacement mapping of project role IDs to assigned user and group IDs. An empty roles list removes all project access assignments.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Project ArchivedUNLEASH_SET_PROJECT_ARCHIVEDAcción

Archive or revive one project; archiving requires all project flags to be archived first.

Parámetros de entrada

  • archivedbooleanObligatorio

    True for the positive state; false for the inverse state.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Project FavoriteUNLEASH_SET_PROJECT_FAVORITEAcción

Add or remove one project from the current principal's favorites.

Parámetros de entrada

  • favoritebooleanObligatorio

    True for the positive state; false for the inverse state.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Toggle remote MCP server settingsUNLEASH_SET_REMOTE_MCP_STATEAcción

Toggles the remote MCP server for this Unleash instance.

Parámetros de entrada

  • enabledbooleanObligatorio

    Whether the remote MCP server is currently enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Sets roles for groupUNLEASH_SET_ROLES_FOR_GROUPAcción

Replace all project roles assigned to a group. Pass the complete desired role ID list; an empty list removes all of the group's roles and its project access.

Parámetros de entrada

  • rolesinteger[]Obligatorio

    Complete desired list of project role IDs. This replaces the group's project roles; an empty list removes them all.

  • group_idanyObligatorio

    Numeric group ID returned by an Unleash group or project-access action.

  • project_idstringObligatorio

    Project ID whose group role assignments will be replaced.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Sets roles for userUNLEASH_SET_ROLES_FOR_USERAcción

Replace all project roles assigned directly to a user. Pass the complete desired role ID list; an empty list removes all direct roles and therefore the user's direct project access.

Parámetros de entrada

  • rolesinteger[]Obligatorio

    Complete desired list of project role IDs. This replaces the user's direct project roles; an empty list removes them all.

  • user_idanyObligatorio

    Numeric user ID returned by an Unleash user or project-access action.

  • project_idstringObligatorio

    Project ID whose direct user role assignments will be replaced.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SAML auth settingsUNLEASH_SET_SAML_SETTINGSAcción

Configure or partially update SAML login, certificates, user auto-creation, roles, and group syncing. Disabling SAML or replacing invalid identity-provider settings can immediately prevent users from signing in.

Parámetros de entrada

  • enabledboolean

    Enable or disable SAML 2.0 login for this instance.

  • entity_idstringObligatorio

    SAML identity-provider entity ID required by Unleash for every update.

  • auto_createboolean

    Automatically create users from SAML email claims.

  • certificatestring

    X.509 public certificate used to validate identity-provider assertions. Required for initial configuration.

  • sign_on_urlstring

    Identity-provider Single Sign-On URL. Required for initial configuration.

  • sign_out_urlstring

    Identity-provider Single Sign-Out URL.

  • email_domainsstring

    Comma-separated email domains approved for auto-creation.

  • sp_certificatestring

    Service-provider public certificate for signing logout requests.

  • group_json_pathstring

    Path in the SAML assertion containing group memberships.

  • default_root_rolestringenum

    Built-in root role assigned to auto-created users.

    ViewerEditorAdmin
  • default_root_role_idnumber

    Numeric root role ID for auto-created users; takes precedence over default_root_role.

  • enable_group_syncingboolean

    Synchronize Unleash groups from SAML assertions.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set SCIM settingsUNLEASH_SET_SCIM_SETTINGSAcción

Sets new settings for SCIM provisioning. This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • enabledbooleanObligatorio

    Whether SCIM provisioning is currently enabled.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Signal Endpoint StateUNLEASH_SET_SIGNAL_ENDPOINT_STATEAcción

Enable or disable one outbound signal endpoint.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • enabledbooleanObligatorio

    True for the positive state; false for the inverse state.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Simple auth settingsUNLEASH_SET_SIMPLE_SETTINGSAcción

Enable or disable simple authentication (username/password). This operation changes access or identity state and may be destructive or immediately disruptive.

Parámetros de entrada

  • disabledboolean

    Is username/password authentication disabled

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set Strategy DeprecatedUNLEASH_SET_STRATEGY_DEPRECATEDAcción

Deprecate or reactivate one custom strategy type.

Parámetros de entrada

  • deprecatedbooleanObligatorio

    True for the positive state; false for the inverse state.

  • strategy_namestringObligatorio

    Strategy Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set strategy sort orderUNLEASH_SET_STRATEGY_SORT_ORDERAcción

Replace the sort order for the complete supplied list of strategy instances in this feature environment.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • strategy_orderobject[]Obligatorio

    Complete ordered list of strategy instance IDs and their numeric sort orders.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Start a release plan milestoneUNLEASH_START_MILESTONEAcción

Starts a release plan milestone, advancing a one-way release transition that may apply the milestone's rollout configuration and cannot simply be undone.

Parámetros de entrada

  • plan_idstringObligatorio

    Plan Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • milestone_idstringObligatorio

    Milestone Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Update an action setUNLEASH_UPDATE_ACTION_SETAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Updates an existing action set identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • namestringObligatorio

    The name of the action set

  • matchobjectObligatorio

    Defines a matching rule for the signal that will trigger the action set

  • actionsobject[]Obligatorio

    The list of actions to execute in sequential order when the action set is triggered

  • enabledboolean

    Whether this action set is enabled or not

  • actor_idintegerObligatorio

    The id of the service account that will execute the action

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • descriptionstring

    The description of the action set

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update an addonUNLEASH_UPDATE_ADDONAcción

Replace an external event integration configuration. Provide the provider, description, enabled state, complete event filter, complete project filter, complete environment filter, and all provider parameters required for that provider. Unleash masks stored webhook URLs and other secrets, so callers must resend the real URL or credential on every update. Changing destination configuration or filters redirects future deliveries; setting enabled to true starts delivery and false stops it. Passing null for description clears it to an empty string; empty project or environment lists select all.

Parámetros de entrada

  • idanyObligatorio

    Unique ID of the addon to update.

  • urlstringpassword

    Destination URL for webhook, Slack webhook, Teams, Datadog, New Relic, or Teams Workflow delivery. Required for webhook, slack, teams, new-relic, and the teams-workflow or teamsworkflow identifier returned by the instance. Treated as secret because webhook URLs can contain credentials.

  • eventsstring[]Obligatorio

    Complete replacement event-type filter. Pass an empty list to select no events.

  • api_keystringpassword

    Datadog API key. Required for the datadog provider; never log it.

  • enabledbooleanObligatorio

    Whether future selected events should be delivered.

  • projectsstring[]Obligatorio

    Complete replacement project filter. Pass an empty list for all projects.

  • providerstringObligatorio

    Complete case-sensitive addon provider returned by LIST_ADDONS.

  • usernamestring

    Slack webhook username. Applies only to the slack provider and defaults to "Unleash".

  • emoji_iconstring

    Slack webhook emoji icon. Applies only to the slack provider and defaults to ":unleash:".

  • descriptionanyObligatorio

    Complete addon description. Pass null to clear it to an empty string.

  • license_keystringpassword

    New Relic license key. Required for the new-relic provider; never log it.

  • access_tokenstringpassword

    App for Slack access token. Required for the slack-app provider; never log it.

  • content_typestring

    Webhook Content-Type header. Applies only to the webhook provider and defaults to application/json.

  • environmentsstring[]Obligatorio

    Complete replacement environment filter. Pass an empty list for all environments.

  • body_templatestring

    Mustache body template for webhook, Datadog, or New Relic delivery.

  • custom_headersobject

    Additional outbound HTTP headers as string key-value pairs. Supported by webhook, slack, teams, datadog, new-relic, and the teams-workflow or teamsworkflow identifier returned by the instance. Header values may contain secrets.

  • default_channelstring

    Fallback Slack channel when an event has no Slack tag. Required for the slack provider.

  • default_channelsstring[]

    Slack App channels that always receive selected events, in addition to channels selected by Slack tags.

  • source_type_namestring

    Datadog event source_type_name. Applies only to the datadog provider.

  • provider_parametersobject

    Provider-specific parameter object using the exact keys documented by LIST_ADDONS. Use this for custom or instance-defined providers; values may contain credentials and must not be logged. Do not combine a key here with its equivalent typed field.

  • webhook_header_valuestringpassword

    Value Unleash sends in the webhook Authorization header. Applies only to the webhook provider; never log it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a bannerUNLEASH_UPDATE_BANNERAcción

Updates an existing banner identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • iconstring

    The icon to display on the banner. Can be one of https://fonts.google.com/icons. If not specified, this will be the default icon for the variant. If "none", no icon will be displayed.

  • linkstring

    The link to display on the banner. Can either be an absolute or a relative link (e.g. absolute: "https://example.com" or relative: "/admin/service-accounts"). If "dialog", will display a dialog when clicked. If not specified, no link will be displayed.

  • dialogstring

    The markdown to display on the dialog. If not specified, no dialog will be displayed.

  • stickyboolean

    Whether the banner should be sticky on the screen. If not specified, defaults to `false`.

  • enabledboolean

    Whether the banner should be displayed currently. If not specified, defaults to true.

  • messagestringObligatorio

    The message to display to all users. Supports markdown.

  • variantstringenum

    The variant of the banner. One of "info", "warning", "error", or "success". If not specified, defaults to "info".

    infowarningerrorsuccess
  • link_textstring

    The text to display on the link. If not specified, will be displayed as "More info".

  • dialog_titlestring

    The title to display on the dialog. If not specified, this will be the same as `linkText`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Edits a single change in a change requestUNLEASH_UPDATE_CHANGE_REQUEST_CHANGEAcción

Replace one change in a change request. Unleash removes the selected change and inserts the typed replacement, so its old change ID becomes invalid; use the returned request's latest change ID for subsequent edits.

Parámetros de entrada

  • bodyanyObligatorio

    Typed replacement change. The action discriminator selects the exact required payload for updateSegment, deleteSegment, updateEnabled, addStrategy, updateMilestoneStrategy, updateStrategy, deleteStrategy, archiveFeature, patchVariant, reorderStrategy, addDependency, deleteDependency, addReleasePlan, startMilestone, deleteReleasePlan, changeMilestoneProgression, deleteMilestoneProgression, resumeMilestoneProgression, changeReleasePlanSafeguard, deleteReleasePlanSafeguard, changeFeatureEnvSafeguard, or deleteFeatureEnvSafeguard.

  • change_idanyObligatorio

    Current change ID from the latest change-request representation. Replacement invalidates this ID, so read the returned request before another edit.

  • project_idstringObligatorio

    Project ID containing the change request.

  • change_request_idanyObligatorio

    Change request ID returned by a change-request read or search action.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

This endpoint will update the state of a change requestUNLEASH_UPDATE_CHANGE_REQUEST_STATEAcción

Move a change request to Draft, In review, Approved, Cancelled, or Applied when Unleash's transition rules allow it. Approval requires at least one change and enough approvals. Applied and Cancelled are terminal and cannot be changed afterward; editing an Approved request returns it to In review and clears its approvals.

Parámetros de entrada

  • idanyObligatorio

    Change request ID returned by a change-request read or search action.

  • statestringObligatorioenum

    Target state. Applied and Cancelled are terminal and cannot be changed afterward.

    DraftIn reviewApprovedCancelledApplied
  • project_idstringObligatorio

    Project ID containing the change request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

This endpoint will update the custom title of a change requestUNLEASH_UPDATE_CHANGE_REQUEST_TITLEAcción

Replace a change request's custom title. Pass an empty title to clear it and restore display of Unleash's generated default, such as Change Request #1.

Parámetros de entrada

  • idanyObligatorio

    Change request ID returned by a change-request read or search action.

  • titlestringObligatorio

    Replacement custom title. Pass an empty string to clear it and show Unleash's default title.

  • project_idstringObligatorio

    Project ID containing the change request.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Context FieldUNLEASH_UPDATE_CONTEXT_FIELDAcción

Update supplied settings of a root or project context field. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • projectstring

    Replacement project association for the context field.

  • project_idstring

    Project ID. Required only when scope is project.

  • sort_orderinteger

    Replacement order used when listing context fields.

  • stickinessboolean

    Whether this field can be used for custom stickiness calculations.

  • descriptionstring

    Replacement context-field description.

  • legal_valuesobject[]

    Replacement allowed values for the context field.

  • context_fieldstringObligatorio

    Exact name of the context field to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Updates an environment by nameUNLEASH_UPDATE_ENVIRONMENTAcción

Given an environment by name updates the environment with the given payload. Note that `name`, `enabled` and `protected` cannot be changed by this API

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • typestring

    Updates the type of environment (i.e. development or production).

  • sort_orderinteger

    Changes the sort order of this environment.

  • required_approvalsinteger

    Experimental field. The number of approvals required before a change request can be applied in this environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update environment sort ordersUNLEASH_UPDATE_ENVIRONMENT_SORT_ORDERSAcción

Updates sort orders for the named environments. Environments not specified are unaffected.

Parámetros de entrada

  • sort_ordersobjectObligatorio

    Map of environment names to their desired integer sort orders.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update FeatureUNLEASH_UPDATE_FEATUREAcción

Update supplied description, type, stale or archive state, or impression-data setting on an existing feature flag. Setting archived to true moves the flag into the archive; omitted fields remain unchanged.

Parámetros de entrada

  • typestringenum

    Replacement feature type.

    experimentkill-switchreleaseoperationalpermissionsunset
  • staleboolean

    Whether the feature flag is stale.

  • archivedboolean

    Whether to archive the feature flag.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • descriptionstring

    Replacement feature description.

  • feature_namestringObligatorio

    Exact feature flag name.

  • impression_databoolean

    Whether to collect impression data.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a feature linkUNLEASH_UPDATE_FEATURE_LINKAcción

Update an existing feature link.

Parámetros de entrada

  • urlstringObligatorio

    The URL the feature is linked to

  • titlestring

    The description of the link

  • link_idstringObligatorio

    Link Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update Feature StrategyUNLEASH_UPDATE_FEATURE_STRATEGYAcción

Replace supplied configuration fields on one feature strategy instance.

Parámetros de entrada

  • namestring

    Replacement strategy type name.

  • titlestring

    Human-readable title for this strategy instance.

  • disabledboolean

    Whether this strategy instance is disabled.

  • segmentsnumber[]

    Numeric segment IDs attached to this strategy.

  • variantsobject[]

    Experimental strategy-level variants.

  • parametersobject

    Provider-defined strategy parameters; values must be strings.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • sort_ordernumber

    Evaluation order for the strategy.

  • constraintsobject[]

    Constraints that must match for the strategy.

  • environmentstringObligatorio

    Environment name, such as development or production.

  • strategy_idstringObligatorio

    Strategy instance ID returned by Get Feature Environment.

  • feature_namestringObligatorio

    Exact feature flag name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update strategy segmentsUNLEASH_UPDATE_FEATURE_STRATEGY_SEGMENTSAcción

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.

Parámetros de entrada

  • project_idstringObligatorio

    The ID of the project that the strategy belongs to.

  • segment_idsinteger[]Obligatorio

    The new list of segments (IDs) to use for this strategy. Any segments not in this list will be removed from the strategy.

  • strategy_idstringObligatorio

    The ID of the strategy to update segments for.

  • environment_idstringObligatorio

    The ID of the strategy environment.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update feature tagsUNLEASH_UPDATE_FEATURE_TAGSAcción

Sync one or many feature tags with PUT, add one tag with POST, or remove one tag with DELETE. Sync requires both added_tags and removed_tags, applies additions before removals, and accepts an empty list for either effect.

Parámetros de entrada

  • tagobject

    Required for add: the one tag to send in the POST body.

  • typestring

    Required for remove: the tag type to send in the DELETE path.

  • valuestring

    Required for remove: the tag value to send in the DELETE path.

  • operationstringObligatorioenum

    Use sync for a batch PUT, add for an exact single-tag POST, or remove for an exact single-tag DELETE.

    syncaddremove
  • added_tagsobject[]

    One or more tags to add to the feature, or an empty list when only removing tags.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • removed_tagsobject[]

    One or more tags to remove from the feature, or an empty list when only adding tags.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update feature type lifetimeUNLEASH_UPDATE_FEATURE_TYPE_LIFETIMEAcción

Updates the lifetime configuration for the specified [feature flag type](https://docs.getunleash.io/concepts/feature-flags#feature-flag-types). The expected lifetime is an integer representing the number of days before Unleash marks a feature flag of that type as potentially stale. If set to `null` or `0`, then feature flags of that particular type will never be marked as potentially stale. When a feature flag type's expected lifetime is changed, this will also cause any feature flags of this type to be reevaluated for potential staleness.

Parámetros de entrada

  • lifetime_daysanyObligatorio

    The new lifetime (in days) that you want to assign to the feature flag type. If the value is `null` or `0`, then the feature flags of that type will never be marked as potentially stale. Otherwise, they will be considered potentially stale after the number of days indicated by this property.

  • feature_type_idstringObligatorio

    Feature flag type ID returned by List All Feature Types.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a groupUNLEASH_UPDATE_GROUPAcción

Update existing user group by group id. It overrides previous group details.

Parámetros de entrada

  • namestringObligatorio

    The name of the group

  • usersobject[]

    A list of users belonging to this group

  • group_idanyObligatorio

    Group Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • root_rolenumber

    A role id that is used as the root role for all users in this group. This can be either the id of the Viewer, Editor or Admin role.

  • descriptionstring

    A custom description of the group

  • mappings_ssostring[]

    A list of SSO groups that should map to this Unleash group

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set a new Unleash licenseUNLEASH_UPDATE_LICENSEAcción

Set a new Unleash license. Only available for self-hosted Enterprise customers.

Parámetros de entrada

  • tokenstringObligatorio

    The actual license token.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update projectUNLEASH_UPDATE_PROJECTAcción

Update a project's name and optionally its description, access mode, or default stickiness. The complete new name is always required; omitted optional fields remain unchanged.

Parámetros de entrada

  • modestringenum

    A mode of the project affecting what actions are possible in this project

    openprotectedprivate
  • namestringObligatorio

    The new name of the project. The name must contain at least one non-whitespace character.

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • descriptionstring

    A new description for the project

  • default_stickinessstring

    A default stickiness for the project affecting the default stickiness value for variants and Gradual Rollout strategy

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Updates change request configuration for an environment in the projectUNLEASH_UPDATE_PROJECT_CHANGE_REQUEST_CONFIGAcción

This endpoint will change the change request configuration for a given environment, set it to either on/off and optionally configure the number of approvals needed. The minimum number of approvals is 1 and the maximum number is 10. If you provide a number higher than 10 or lower than 1, Unleash will clamp it to the allowed range.

Parámetros de entrada

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • required_approvalsinteger

    The number of approvals required before a change request can be applied in this environment.

  • change_requests_enabledbooleanObligatorio

    `true` if change requests should be enabled, otherwise `false`.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update project enterprise settingsUNLEASH_UPDATE_PROJECT_ENTERPRISE_SETTINGSAcción

Update project enterprise settings with new values. Any fields not provided are ignored.

Parámetros de entrada

  • modestringenum

    A mode of the project affecting what actions are possible in this project

    openprotectedprivate
  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namingobject

    Create a feature naming pattern

  • link_templatesobject[]

    A list of link templates that can be automatically added to new feature flags.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a milestone strategyUNLEASH_UPDATE_PROJECT_MILESTONE_STRATEGYAcción

Update a milestone strategy configuration for a feature flag in the specified environment.

Parámetros de entrada

  • titlestring

    A descriptive title for the strategy

  • projectstringObligatorio

    Project sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • disabledboolean

    A toggle to disable the strategy. defaults to true. Disabled strategies are not evaluated or returned to the SDKs

  • segmentsnumber[]

    A list of segment ids attached to the strategy

  • variantsobject[]

    Strategy level variants

  • parametersobject

    A list of parameters for a strategy

  • sort_ordernumber

    The order of the strategy in the list in feature environment configuration

  • constraintsobject[]

    A list of the constraints attached to the strategy. See https://docs.getunleash.io/concepts/activation-strategies#constraints

  • environmentstringObligatorio

    Environment sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • strategy_idstringObligatorio

    Strategy Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • feature_namestringObligatorio

    Feature Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a release templateUNLEASH_UPDATE_RELEASE_TEMPLATEAcción

Updates a release template's name, description, and replacement milestone configuration. Unleash will delete and rebuild existing milestones from the supplied `milestones` body field, so this cannot simply be undone. Project scope uses a beta API.

Parámetros de entrada

  • namestringObligatorio

    The release template's new name.

  • scopestringObligatorioenum

    Whether to update a global template or a template for one project. The project-scoped API is beta.

    globalproject
  • milestonesobject[]

    Replacement milestones. Existing milestones are deleted and rebuilt from this list.

  • project_idstring

    Project ID. Required only when scope is `project` and forbidden for `global`.

  • descriptionstring

    The release template's new description.

  • template_idstringObligatorio

    ID of the release template to update.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a roleUNLEASH_UPDATE_ROLEAcción

Update a custom role by its role ID. The provider requires the role name on every update; supplied permissions replace the role's assigned permission list.

Parámetros de entrada

  • namestringObligatorio

    Complete name to retain or assign to the custom role; required by the provider for every update.

  • typestringenum

    Role scope: "root-custom" applies across the instance; "custom" is a project role.

    root-customcustom
  • role_idanyObligatorio

    Custom role ID returned by the role listing or role lookup action.

  • descriptionstring

    What the custom role is intended for.

  • permissionsarray

    Complete permissions to assign when supplied, identified consistently by permission name or numeric permission ID.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update SegmentUNLEASH_UPDATE_SEGMENTAcción

Update a segment by replacing its required name and complete constraint list plus optional metadata.

Parámetros de entrada

  • namestringObligatorio

    Segment name.

  • projectstring

    Project ID that owns the segment, or null for a global segment.

  • segment_idintegerObligatorio

    Numeric segment ID returned by List Segments.

  • constraintsobject[]Obligatorio

    Complete list of constraints that define the segment.

  • descriptionstring

    What this segment represents.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a service accountUNLEASH_UPDATE_SERVICE_ACCOUNTAcción

Updates an existing service account identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • namestring

    The name of the service account

  • root_roleinteger

    The id of the root role for the service account

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Update a signal endpointUNLEASH_UPDATE_SIGNAL_ENDPOINTAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Updates an existing signal endpoint identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • namestringObligatorio

    The signal endpoint name. Must be URL-safe.

  • enabledboolean

    Whether the signal endpoint is currently enabled. If not specified, defaults to true.

  • descriptionstring

    A more detailed description of the signal endpoint and its intended use.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

[BETA] Update a signal endpoint tokenUNLEASH_UPDATE_SIGNAL_ENDPOINT_TOKENAcción

**[BETA]** This API is in beta state, which means it may change or be removed in the future. Updates an existing signal endpoint token identified by its id.

Parámetros de entrada

  • idanyObligatorio

    Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • namestringObligatorio

    The signal endpoint token name.

  • signal_endpoint_idanyObligatorio

    Signal Endpoint Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a strategy typeUNLEASH_UPDATE_STRATEGYAcción

Update a custom strategy type's optional description and replace its complete parameter definition list. Parameters are always required by Unleash; pass an empty list to remove all parameter definitions.

Parámetros de entrada

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • parametersobject[]Obligatorio

    Complete replacement parameter definition list for the custom activation strategy. This provider-required field must be supplied even when only changing the description; pass an empty list to remove all parameter definitions.

  • descriptionstring

    A description of the strategy type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a tag typeUNLEASH_UPDATE_TAG_TYPEAcción

Update the configuration for the specified tag type.

Parámetros de entrada

  • iconstring

    The icon of the tag type.

  • namestringObligatorio

    Name sent in the request path. See the cited Admin OpenAPI schema for accepted values.

  • colorstring

    The hexadecimal color code for the tag type.

  • descriptionstring

    The description of the tag type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a userUNLEASH_UPDATE_USERAcción

Only the explicitly specified fields get updated.

Parámetros de entrada

  • idintegerObligatorio

    a user id

  • namestring

    The user's name (not the user's username).

  • emailstring

    The user's email address. Must be provided if username is not provided.

  • root_roleany

    The role to assign to the user. Can be either the role's ID or its unique name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Upsert Context Field Legal ValueUNLEASH_UPSERT_CONTEXT_FIELD_LEGAL_VALUEAcción

Add a legal value to a root or project context field, or update its description when the value already exists. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • valuestringObligatorio

    Legal value to add or update.

  • project_idstring

    Project ID. Required only when scope is project.

  • descriptionstring

    Optional explanation of the legal value.

  • context_fieldstringObligatorio

    Exact name of the context field whose legal value is set.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update safeguardUNLEASH_UPSERT_SAFEGUARDAcción

Create or update a metric-threshold safeguard for a feature environment or for one release plan. Set target to release_plan and provide plan_id for a release-plan safeguard; omit plan_id for feature_environment. Returns the saved safeguard and its ID for DELETE_SAFEGUARD.

Parámetros de entrada

  • targetstringObligatorioenum

    Safeguard target: the feature environment itself or one release plan.

    feature_environmentrelease_plan
  • plan_idstring

    Release plan ID. Required only when target is release_plan.

  • project_idstringObligatorio

    Project ID containing the feature flag.

  • environmentstringObligatorio

    Environment name containing the safeguard.

  • feature_namestringObligatorio

    Exact feature flag name.

  • impact_metricobjectObligatorio

    Metric configuration evaluated by the safeguard.

  • trigger_conditionobjectObligatorio

    Threshold condition that triggers the safeguard.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validates archive featuresUNLEASH_VALIDATE_ARCHIVE_FEATURESAcción

Preview the consequences of archiving the named feature flags. Returns parent features that would leave unarchived child features orphaned and whether the archive would delete feature dependencies; it does not archive anything.

Parámetros de entrada

  • featuresstring[]Obligatorio

    List of feature flag names

  • project_idstringObligatorio

    Project Id sent in the request path. See the cited Admin OpenAPI schema for accepted values.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate constraintUNLEASH_VALIDATE_CONSTRAINTAcción

Validates a constraint definition. Checks whether the context field exists and whether the applied configuration is valid. Additional properties are not allowed on data objects that you send to this endpoint.

Parámetros de entrada

  • valuestring

    The context value that should be used for constraint evaluation. Use this property instead of `values` for properties that only accept single values.

  • valuesstring[]

    The context values that should be used for constraint evaluation. Use this property instead of `value` for properties that accept multiple values.

  • invertedboolean

    Whether the result should be negated or not. If `true`, will turn a `true` result into a `false` result and vice versa.

  • operatorstringObligatorioenum

    The operator to use when evaluating this constraint. For more information about the various operators, refer to [the strategy constraint operator documentation](https://docs.getunleash.io/concepts/activation-strategies#constraint-operators).

    NOT_ININSTR_ENDS_WITHSTR_STARTS_WITHSTR_CONTAINSNUM_EQNUM_GTNUM_GTENUM_LTNUM_LTEDATE_AFTERDATE_BEFORE+6
  • context_namestringObligatorio

    The name of the context field that this constraint should apply to.

  • case_insensitiveboolean

    Whether the operator should be case sensitive or not. Defaults to `false` (being case sensitive).

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate Context Field NameUNLEASH_VALIDATE_CONTEXT_FIELD_NAMEAcción

Check whether a proposed name can be used for a root or project context field. Invalid names produce an Unleash validation error. The project scope uses Unleash's beta project-context API.

Parámetros de entrada

  • namestringObligatorio

    Proposed context-field name to validate.

  • scopestringObligatorioenum

    Use root context fields or the beta context fields for one project.

    rootproject
  • project_idstring

    Project ID. Required only when scope is project.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validates if an environment name existsUNLEASH_VALIDATE_ENVIRONMENT_NAMEAcción

Checks whether an environment name is already in use.

Parámetros de entrada

  • namestringObligatorio

    The name of the represented object.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate an external impact-metrics source URLUNLEASH_VALIDATE_EXTERNAL_IMPACT_METRICS_SOURCEAcción

Tests an external impact-metrics source URL on the fly without persisting it. Returns the list of metric names found at the URL on success, or an `error` string explaining what went wrong. Always responds with 200; failures are reported in the body.

Parámetros de entrada

  • urlstringObligatorio

    Base URL of the external impact-metrics source to test. Basic-Auth credentials may be embedded in the URL (e.g. `https://user:pass@metrics.example.com`); they are extracted into an `Authorization` header on outbound requests.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate a feature flag nameUNLEASH_VALIDATE_FEATUREAcción

Validates a feature flag name: checks whether the name is URL-friendly and whether a feature with the given name already exists. Returns 200 if the feature name is compliant and unused.

Parámetros de entrada

  • namestringObligatorio

    The feature name to validate.

  • project_idstring

    The id of the project that the feature flag will belong to. If the target project has a feature naming pattern defined, the name will be validated against that pattern.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate feature import dataUNLEASH_VALIDATE_IMPORTAcción

Validates a feature flag data set. Checks whether the data can be imported into the specified project and environment. The returned value is an object that contains errors, warnings, and permissions required to perform the import, as described in the [import documentation](https://docs.getunleash.io/concepts/import-export#import-feature-flags).

Parámetros de entrada

  • dataobjectObligatorio

    The result of the export operation, providing you with the feature flag definitions, strategy definitions and the rest of the elements relevant to the features (tags, environments etc.)

  • projectstringObligatorio

    The exported [project](https://docs.getunleash.io/concepts/projects)

  • environmentstringObligatorio

    The exported [environment](https://docs.getunleash.io/concepts/environments)

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate project IDUNLEASH_VALIDATE_PROJECTAcción

Validate a project ID against Unleash's rules

Parámetros de entrada

  • idstringObligatorio

    The project ID to validate

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate a roleUNLEASH_VALIDATE_ROLEAcción

Check if the role matches schema and has a unique name.

Parámetros de entrada

  • bodyanyObligatorio

    Role definition to validate. At minimum, provide the custom role name.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validates if a segment name existsUNLEASH_VALIDATE_SEGMENTAcción

Checks whether a segment name is already in use.

Parámetros de entrada

  • namestringObligatorio

    The name of the represented object.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate a tag typeUNLEASH_VALIDATE_TAG_TYPEAcción

Validates whether if the body of the request is a valid tag and whether the a tag type with that name already exists or not. If a tag type with the same name exists, this operation will return a 409 status code.

Parámetros de entrada

  • iconstring

    The icon of the tag type.

  • namestringObligatorio

    The name of the tag type.

  • colorstring

    The hexadecimal color code for the tag type.

  • descriptionstring

    The description of the tag type.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Validate password for a userUNLEASH_VALIDATE_USER_PASSWORDAcción

Validate the password strength. Minimum 10 characters, uppercase letter, number, special character. Treat token or credential values as secrets and never log them.

Parámetros de entrada

  • passwordstringObligatoriopassword

    The password whose strength to validate. Treat this value as a secret and never log it.

Parámetros de salida

  • dataanyObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not