---
title: "Unlink resource from team"
method: POST
path: "/teams/{team_id}/unlinkResource"
---

# Unlink resource from team

`POST /teams/{team_id}/unlinkResource`

Unlink resource from team

## Path parameters

- `team_id` integer, required

## Request body

- object — One of these fields is required: repo_id, cloud_id, image_id, zen_app_id
  - `repo_id` integer — The id of a repo to unlink.
  - `cloud_id` integer — The id of a cloud to unlink.
  - `image_id` integer — The id of an image to unlink.
  - `domain_id` integer — The id of a domain to unlink.
  - `zen_app_id` integer — The id of a zen app to unlink.

## Response `200`

The resource has successfully been unlinked from the team

- object
  - `success` integer — The integer 1 indicating success

## Other responses

- `400` — One or more of the provided fields are invalid.

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/versions/5445e7c21137/schema)
