Skip to main content
PUT
/
api
/
app
/
versions
/
{version_id}
/
activate
Activate an App Version
curl --request PUT \
  --url https://api.example.com/api/app/versions/{version_id}/activate \
  --header 'Authorization: Bearer <token>'
{
  "activated_version": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "app_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "version_name": "<string>",
    "status": "<string>",
    "created_by": "<string>",
    "created_date": "<unknown>",
    "updated_by": "<string>",
    "updated_date": "<unknown>"
  },
  "deactivated_version_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

version_id
string<uuid>
required

Response

Version activated successfully

Response model for activating an app version.

activated_version
AppVersionResponse · object
required

The version that was activated.

deactivated_version_ids
string<uuid>[]
required

IDs of versions that were deactivated.