---
title: "Removes a feature group from a relation type"
method: POST
path: "/api/v1/feature-groups/{featureGroupId}/remove"
tags: ["Feature Groups"]
---

# Removes a feature group from a relation type

`POST /api/v1/feature-groups/{featureGroupId}/remove`

This endpoint removes a feature group from the provided list based on the relationType.</br>Required scope: `feature-groups:write` </br>Organization authorization: `supported`</br>This endpoint is feature-flagged and will only be available to operators who have the feature enabled.

## Path parameters

- `featureGroupId` integer, required

## Request body

- CreateFeatureGroup
  - `relationType` 'team', required
  - `ids` integer[], required — List of IDs that the feature group should be applied to. If one of the IDs does not belong to your operator, applying feature group will fail. Therefore, make sure all the Ids belong to your operator.

## Response `204`

Successfully removed feature group relation

## Other responses

- `400` — The request is invalid
- `401` — Consumer with provided credentials was not found
- `403` — Operator doesn't have access to resource
- `404` — Entity with the provided id was not found

---

[API](https://skmtc.net/monta/apis/monta-partner-api.md) · [All operations](https://skmtc.net/monta/apis/monta-partner-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/monta/monta-partner-api/revisions/517e18f11015/schema)
