---
title: "add storage to group."
method: POST
path: "/cc/v1/groups/storages"
tags: ["Groups"]
---

# add storage to group.

`POST /cc/v1/groups/storages`

Optional extended description in Markdown.

## Request body

- GroupStorage
  - `id` integer — the id of GroupStorage
  - `groupId` integer — the groupId
  - `storageId` integer — the storageId
  - `path` string — the path of storage
  - `permissions` string — the permissions of storage
  - `type` string — the type of storage
  - `groupType` string — the type of group
  - `remarks` string — the remarks UserGroup
  - `enableFlag` integer — Whether the data is valid

## Response `200`

Detailed GroupStorage and GroupStorage information.

- GroupStorage
  - `id` integer — the id of GroupStorage
  - `groupId` integer — the groupId
  - `storageId` integer — the storageId
  - `path` string — the path of storage
  - `permissions` string — the permissions of storage
  - `type` string — the type of storage
  - `groupType` string — the type of group
  - `remarks` string — the remarks UserGroup
  - `enableFlag` integer — Whether the data is valid

## Other responses

- `401` — Unauthorized
- `404` — url to add GroupStorage not found.

---

[API](https://skmtc.net/webankfintech/apis/mlss-cc-api.md) · [All operations](https://skmtc.net/webankfintech/apis/mlss-cc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/webankfintech/mlss-cc-api/versions/615a549c16f7/schema)
