Skip to main content

Remove Users from App

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


Path Params

NameTypeRequiredDescription
OWNER_NAMEstringtrueApp owner's user name
PLATFORM_TYPEstringtrueios or android
APP_IDstringtrueApp's package name (Example: com.deploygate.android)

Form Data

NameTypeRequiredDescription
usersstringtrueUser name or email address. Use a comma (,) to add additional user names or email addresses.

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