アプリからユーザーを削除する
DELETE
https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/members
Path Params
Name | Type | Required | Description |
---|---|---|---|
OWNER_NAME | string | true | アプリを所有するユーザー名 |
PLATFORM_TYPE | string | true | ios もしくは android |
APP_ID | string | true | アプリのパッケージ名 (例: com.deploygate.android) |
Form Data
Name | Type | Required | Description |
---|---|---|---|
users | string | true | ユーザー名もしくはメールアドレス、カンマ(,)区切りで複数指定可能 |
Example
curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/members" \
-H "Authorization: Bearer ${TOKEN}" \
-X DELETE \
--form-string "users=${USERS}"
Result 200
{
"error": false,
"results": {
"invite": "member remove success(Warning: some users were not a member [ non_member ])"
}
}
Result 400
{
"error": true,
"message": "tried to invite existing member",
"because": "tried to invite existing member"
}