Skip to main content

Delete Distribution Page by Name

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


Path Params

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

Body

NameTypeRequiredDescription
distribution_namestringtrueDistribution name (title of Distribution Page). If there are multiple pages with the exact same name, the request will fail and respond with status code 400.

Example

curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/distributions" \
-H "Authorization: Bearer ${TOKEN}" \
-X DELETE \
--form-string "distribution_name=${DISTRIBUTION_NAME}"

Result 200

{
"error": false,
"results": {
"message": "deleted successfully"
}
}

Result 404

{
"error": true,
"message": "not found",
"because": "not found"
}