Delete Distribution Page by Name
DELETE
https://deploygate.com/api/users/{OWNER_NAME}/platforms/PLATFORM_TYPE/apps/APP_ID/distributions
Path Params
Name | Type | Required | Description |
---|---|---|---|
OWNER_NAME | string | true | App owner's user name |
PLATFORM_TYPE | string | true | ios or android |
APP_ID | string | true | App's package name (Example: com.deploygate.android) |
Body
Name | Type | Required | Description |
---|---|---|---|
distribution_name | string | true | Distribution 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"
}