User Tools

Site Tools


api:flexcare:appwhitelist:deleterelease

API : FlexCare : App whitelist : Delete release

Introduction

This will delete a single release (APK version) from a whitelisted app.

The default release cannot be deleted; another release must be made the default first. When the release is removed, its APK file and bundled files are also deleted from the file store, unless another release on any app still references them.

Request

URL https://api.telecomx.dk/flexcare/appwhitelist/APP_ID/release/RELEASE_ID
Method DELETE
Access level ADMIN, or RESELLER admin with the TV employee feature
Param APP_ID Unique id (ObjectId) of the app
RELEASE_ID Unique id (ObjectId) of the release

Query examples

https://api.telecomx.dk/flexcare/appwhitelist/1234567890ABCD1234567890/release/1234567890ABCD1234657980

Response

JSON object
success Boolean True when the release was deleted

Example

{
  success: true
}

Errors

Error code Message Description
422 id Invalid app id (must be a 24-character hex ObjectId).
422 releaseId Invalid release id (must be a 24-character hex ObjectId).
403 access_denied Insufficient access level, or the reseller admin lacks the TV employee feature.
404 id App not found.
404 releaseId Release not found on the app.
409 releaseId Cannot delete the default release. Make another release the default first.
500 internal_error <Unspecified>
api/flexcare/appwhitelist/deleterelease.txt · Last modified: by Mikkel Frederiksen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki