ワークスペースに共有チームを追加する
POST https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/shared_teams
新しい共有チームを作成し、ワークスペースに追加します。
Path Params
| Name | Type | Required | Description |
|---|---|---|---|
| WORKSPACE_NAME | string | true | ワークスペース名 |
Body
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | true | 共有チーム名 |
| description | string | false | 共有チーム概要 |
Example
curl \
-X POST \
--url "https://deploygate.com/api/enterprises/${WORKSPACE_NAME}/shared_teams" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}" \
--form-string "name=${SHARED_TEAM_NAME}" \
--form-string "description=this is the description of the new shared team"
Result 201