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

リビジョンの保護を無効化する

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

Path Params

NameTypeRequiredDescription
OWNER_NAMEstringtrueアプリを所有するユーザー名
PLATFORM_TYPEstringtrueios もしくは android
APP_IDstringtrueアプリのパッケージ名 (例: com.deploygate.android)
REVISION_NUMBERint32trueパッケージ管理画面にあるバージョンを表す番号 (例: #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
}