> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Harness FME

> How to set up the Harness FME connector, plus the actions that are available.

![Harness FME](https://stackone-logos.com/api/harness/filled/svg)

v1.0.1[See changelog](https://docs.stackone.com/connectors/harnessfme/changelog.md)

[84 actions](#actions) · 2 auth methods

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [Service Account Token · Connector Profile](https://docs.stackone.com/connectors/harnessfme/guides/connector-profile/service-account-token.md)
>
> Recommended for production connections. A service account token acts as a Harness service account, not a person, so it k...

> [card] [Personal Access Token · Connector Profile](https://docs.stackone.com/connectors/harnessfme/guides/connector-profile/personal-access-token.md)
>
> Use this for quick setup, testing or personal use. A personal access token acts as the user who created it, with all of...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [Service Account Token · Link Account](https://docs.stackone.com/connectors/harnessfme/guides/link-account/service-account-token.md)

> [card] [Personal Access Token · Link Account](https://docs.stackone.com/connectors/harnessfme/guides/link-account/personal-access-token.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

Personal Access Token

Service Account Token

No auth methods found

84 actions

ActionDescription

Get Projects (Workspaces)`harnessfme_get_projects_workspaces`

List FME projects (formerly workspaces) in the account.

Create Environments`harnessfme_create_environments`

Create an FME environment in a project.

Delete Environments`harnessfme_delete_environments`

Delete an FME environment from a project.

Delete An API Key`harnessfme_delete_an_api_key`

Revoke an FME API key by its id.

Get Environments`harnessfme_get_environments`

List the FME environments in a project.

Update Environments`harnessfme_update_environments`

Update an FME environment with JSON Patch.

Create Traffic Types`harnessfme_create_traffic_types`

Create a traffic type in a project.

Delete Traffic Types`harnessfme_delete_trafic_types`

Delete a traffic type by its ID.

Get Traffic Types`harnessfme_get_traffic_types`

List the traffic types defined in a project.

Archive A Feature Flag`harnessfme_archive_a_feature_flag`

Archive a feature flag so it is no longer active for regular use.

Create Feature Flag`harnessfme_create_feature_flag`

Create a feature flag for a traffic type in a project.

Delete A Feature Flag`harnessfme_delete_a_feature_flag`

Delete a feature flag from a project.

Get Feature Flag`harnessfme_get_feature_flag`

Get the metadata of one feature flag in a project.

List Feature Flags`harnessfme_list_feature_flags`

List feature flag metadata in a project.

Unarchive A Feature Flag`harnessfme_unarchive_a_feature_flag`

Restore an archived feature flag so it becomes active again.

Update Feature Flag Description`harnessfme_update_feature_flag_description`

Replace the description of a feature flag.

Update Feature Flag`harnessfme_update_feature_flag`

Update a feature flag description, tags or rollout status with JSON Patch.

Create Feature Flag Definition In Environment`harnessfme_create_feature_flag_definition_in_environment`

Configure a feature flag in an environment with treatments and rules.

Full Update Feature Flag Definition In Environment`harnessfme_full_update_feature_flag_definition_in_environment`

Replace the whole definition of a feature flag in an environment.

Get Feature Flag Definition In Environment`harnessfme_get_feature_flag_definition_in_environment`

Get the definition of a feature flag in one environment.

Kill Feature Flag In Environment`harnessfme_kill_feature_flag_in_environment`

Kill a feature flag in an environment so every key gets the default treatment.

List Feature Flag Definitions In Environment`harnessfme_list_feature_flag_definitions_in_environment`

List the feature flag definitions configured in an environment.

Partial Update Feature Flag Definition In Environment`harnessfme_partial_update_feature_flag_definition_in_environment`

Update fields of a feature flag definition in an environment with JSON Patch.

Reallocate Traffic (Reseed Bucketing)`harnessfme_reallocate_traffic_reseed_bucketing`

Reseed the bucketing of a feature flag in an environment.

Remove Feature Flag Definition From Environment`harnessfme_remove_feature_flag_definition_from_environment`

Remove a feature flag definition from an environment.

Restore Feature Flag In Environment`harnessfme_restore_feature_flag_in_environment`

Restore a killed feature flag in an environment.

Create Segment`harnessfme_create_segment`

Create a segment for a traffic type in a project.

Deactivate Segment In Environment`harnessfme_deactivate_segment_in_environment`

Deactivate a segment in an environment.

Delete Segment`harnessfme_delete_segment`

Delete a segment from a project.

Enable Segment In Environment`harnessfme_enable_segment_in_environment`

Enable an existing segment in an environment.

Get Segment Keys In Environment`harnessfme_get_segment_keys_in_environment`

List the keys of a segment in an environment.

List Segments In Environment`harnessfme_list_segments_in_environment`

List the segments enabled in an environment.

List Segments`harnessfme_list_segments`

List the segments in a project.

Remove Segment Keys From Environment`harnessfme_remove_segment_keys_from_environment`

Remove a list of keys from a segment in an environment.

Update Segment Keys In Environment Via JSON`harnessfme_update_segment_keys_in_environment_via_json`

Add keys to a segment in an environment from a JSON list.

Delete Rule-Based Segment`harnessfme_delete_rule_based_segment`

Delete a rule-based segment from a project.

Delete Rule-Based Segment In Environment`harnessfme_delete_rule_based_segment_in_environment`

Remove a rule-based segment from an environment.

Enable Rule-Based Segment In Environment`harnessfme_enable_rule_based_segment_in_environment`

Enable a rule-based segment in an environment.

List Rule-Based Segments In Environment`harnessfme_list_rule_based_segments_in_environment`

List the rule-based segments enabled in an environment.

Get Rule-Based Segment By Name`harnessfme_get_rule_based_segment_by_name`

Get a rule-based segment in a project by its name.

List Rule-Based Segments`harnessfme_list_rule_based_segments`

List the rule-based segments in a project.

Create Rule-Based Segment`harnessfme_create_rule_based_segment`

Create a rule-based segment for a traffic type in a project.

Update Rule-Based Segment Definition`harnessfme_update_rule_based_segment_definition`

Update the rules and exclusions of a rule-based segment in an environment.

Create Large Segment`harnessfme_create_large_segment`

Create a large segment for a traffic type in a project.

Create Large Segment Definition For Environment`harnessfme_create_large_segment_definition_for_environment`

Enable a large segment in an environment.

Delete Large Segment In Project (Workspace)`harnessfme_delete_large_segment_in_project_workspace`

Delete a large segment from a project.

Delete Large Segment In Environment`harnessfme_delete_large_segment_in_environment`

Remove a large segment from an environment.

Get Large Segment In Project (Workspace) By Name`harnessfme_get_large_segment_in_project_workspace_by_name`

Get a large segment in a project by its name.

List Large Segments`harnessfme_list_large_segments`

List the large segments in a project.

List Large Segments In Environment`harnessfme_list_large_segments_in_environment`

List the large segments enabled in an environment.

Submit Change Request`harnessfme_submit_change_request`

Submit a change to a feature flag or segment for approval.

Create Change Request For Rule-Based Segment`harnessfme_create_change_request_for_rule_based_segment`

Submit a change to a rule-based segment for approval.

Get Change Request`harnessfme_get_change_request`

Get an open change request by its ID.

List Change Requests`harnessfme_list_change_requests`

List change requests in a project or environment.

Update Change Request Status`harnessfme_update_change_request_status`

Approve, reject or withdraw an open change request.

Create Flag Set`harnessfme_create_flag_set`

Create a flag set in a project.

Delete Flag Set`harnessfme_delete_flag_set`

Delete a flag set by its ID.

Get Flag Set`harnessfme_get_flag_set`

Get a flag set by its ID.

List Flag Sets`harnessfme_list_flag_sets`

List the flag sets in a project.

Get Rollout Statuses`harnessfme_get_rollout_statuses`

List the rollout statuses available in a project.

Associate Tags`harnessfme_associate_tags`

Set the tags on a feature flag.

Bulk Upload Attribute Via JSON`harnessfme_bulk_upload_attribute_via_json`

Create or replace many attribute schemas at once from JSON.

Delete Attribute`harnessfme_delete_attribute`

Delete an attribute schema from a traffic type.

Get Attributes`harnessfme_get_attributes`

List the attribute schemas of a traffic type.

Save Attribute`harnessfme_save_attribute`

Create or overwrite an attribute schema for a traffic type.

Update Attribute`harnessfme_update_attribute`

Partially update an attribute schema.

Get Aggregated Users`harnessfme_get_aggregated_users`

List Harness users with their role assignments in an account, org or project.

Get Aggregated User`harnessfme_get_aggregated_user`

Get one Harness user with their role assignments.

Update User Info`harnessfme_update_user_info`

Update a Harness user profile.

Remove User`harnessfme_remove_user`

Remove a user from an account, org or project scope.

Add User To User Groups`harnessfme_add_user_to_user_groups`

Set the user groups a user belongs to.

Add Users`harnessfme_add_users`

Invite users by email to an account, org or project.

Get User Group List`harnessfme_get_user_group_list`

List Harness user groups in an account, org or project.

Get User Group`harnessfme_get_user_group`

Get one Harness user group by identifier.

Post User Group`harnessfme_post_user_group`

Create a Harness user group.

Put User Group`harnessfme_put_user_group`

Update a Harness user group.

Delete User Group`harnessfme_delete_user_group`

Delete a Harness user group.

Get Project List`harnessfme_get_project_list`

List the Harness projects the caller is a member of.

Post Project`harnessfme_post_project`

Create a Harness project, which also creates its FME project (workspace).

Put Project`harnessfme_put_project`

Update a Harness project.

Delete Project`harnessfme_delete_project`

Delete a Harness project and its FME project.

Get Organization List`harnessfme_get_organization_list`

List Harness organizations in the account.

Get Pending Users Aggregated`harnessfme_get_pending_users_aggregated`

List users with pending invites in an account, org or project.

Delete Invite`harnessfme_delete_invite`

Delete a pending user invite.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.