アプリにチームを追加する
POST https://deploygate.com/api/organizations/{ORGANIZATION_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/teams
この操作はプロジェクト/グループが所有するアプリにのみ使用できます。
Path Params
| Name | Type | Required | Description |
|---|---|---|---|
| ORGANIZATION_NAME | string | true | プロジェクト/グループ名 |
| PLATFORM_TYPE | string | true | ios もしくは android |
| APP_ID | string | true | アプリのパッケージ名 (例: com.deploygate.android) |
Body
| Name | Type | Required | Description |
|---|---|---|---|
| team | string | true | 追加するチーム名 |
Example
curl \
--url "https://deploygate.com/api/organizations/${ORGANIZATION_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/teams" \
-H "Authorization: Bearer ${TOKEN}" \
-X POST \
--form-string "team=${TEAM_NAME}"
Result 201