メインコンテンツまでスキップ

アプリからユーザーを削除する

DELETE https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/members


Path Params

NameTypeRequiredDescription
OWNER_NAMEstringtrueアプリを所有するユーザー名
PLATFORM_TYPEstringtrueios もしくは android
APP_IDstringtrueアプリのパッケージ名 (例: com.deploygate.android)

Form Data

NameTypeRequiredDescription
usersstringtrueユーザー名もしくはメールアドレス、カンマ(,)区切りで複数指定可能

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"
}