Disable Revision Protection
DELETE
https://deploygate.com/api/users/{OWNER_NAME}/platforms/{PLATFORM_TYPE}/apps/{APP_ID}/binaries/{REVISION_NUMBER}/protect
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) |
REVISION_NUMBER | int32 | true | A number representing the revision on the package management screen (Example: # 1) |
Example
curl \
--url "https://deploygate.com/api/users/${OWNER_NAME}/platforms/${PLATFORM_TYPE}/apps/${APP_ID}/binaries/${REVISION_NUMBER}/protect" \
-H "Authorization: Bearer ${TOKEN}" \
-X DELETE
Result 200
{
"error": false,
"results": "remove protection successfully"
}
Result 404
{
"message": "unknown binary",
"because": "unknown binary",
"error": true
}