UiPath Documentation
apps
latest
false
  • Apps API
    • Base URL
    • Get deployed apps
    • Edit a deployed app
    • Deploy a published app version
    • Upgrade deployed apps to latest version
    • Publish a coded app
    • Check app name uniqueness
    • Get published apps
    • Get published app versions
important :
For documentation on app projects in Studio Web, refer to the App Projects chapter in the Studio Web documentation: https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web.

Apps API guide

Upgrade deployed apps to latest version

Upgrades one or more deployed apps to their latest published version.

API endpoint

POST <BaseURL>/models/deployed/apps/updateToLatestAppVersionBulk

See Base URL for the root endpoint path.

Request headers

HeaderValue
AuthorizationBearer <access_token>
Content-Typeapplication/json
X-UiPath-Internal-TenantId<tenant_id>
X-UiPath-FolderKey<folder_key>
Note:

Replace all the values between the angle brackets <...> with their corresponding use-case values.

The <access_token> is the one you received when you authorized the external application with the Apps or Apps.Write scope, and the OR.Folders.Read scope. It is available for 1 hour, then you need to generate a new one, or request a refresh token.

Request body (required)

{
  "deploymentIds": [
    "deployment-id-1",
    "deployment-id-2"
  ]
}
{
  "deploymentIds": [
    "deployment-id-1",
    "deployment-id-2"
  ]
}
FieldData typeDescription
deploymentIds (required)string[]The deployment IDs of the deployed apps to upgrade.

Responses

200 OK

Returns the list of successfully updated deployments and any failed items.

{
  "updatedDeployments": [
    {
      "id": "string",
      "appSystemName": "string",
      "version": 3
    }
  ],
  "failedItems": ["deployment-id-2"]
}
{
  "updatedDeployments": [
    {
      "id": "string",
      "appSystemName": "string",
      "version": 3
    }
  ],
  "failedItems": ["deployment-id-2"]
}
FieldData typeDescription
updatedDeploymentsarrayThe list of successfully upgraded deployments.
updatedDeployments[].idstringThe deployment ID.
updatedDeployments[].appSystemNamestringThe system name of the app.
updatedDeployments[].versionnumberThe new version number after upgrade.
failedItemsstring[]The deployment IDs that failed to upgrade.

401 Unauthorized

You are not authenticated. Make sure you are using a valid access token with the Apps or Apps.Write scope.

403 Forbidden

You don't have permission to edit deployed apps in the specified folder.

  • API endpoint
  • Request headers
  • Request body (required)
  • Responses
  • 200 OK
  • 401 Unauthorized
  • 403 Forbidden

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated