v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Applications (beta)

Update application version

Update an application version. You can update the supported field. Requires a JSON patch representation of the desired changes to the application version. To learn more, read Updates.

patch/api/v2/applications/{applicationKey}/versions/{versionKey}

Path parameters

applicationKeystring string required

The application key

The application key

versionKeystring string required

The application version key

The application version key

Request body

opstring required

The type of operation to perform

pathstring required

A JSON Pointer string specifying the part of the document to operate on

valuestring

A JSON value used in "add", "replace", and "test" operations

Example request

[
  {
    "op": "replace",
    "path": "/exampleField",
    "value": "new example value"
  }
]

Response

Application version response

_linksobject

The location and content type of related resources

_versioninteger

Version of the application version

autoAddedboolean required

Whether the application version was automatically created, because it was included in a context when a LaunchDarkly SDK evaluated a feature flag, or if the application version was created through the LaunchDarkly UI or REST API.

creationDateinteger
keystring required

The unique identifier of this application version

namestring required

The name of this version

supportedboolean

Whether this version is supported. Only applicable if the application <code>kind</code> is <code>mobile</code>.

Example response

{
  "_access": {
    "denied": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ],
    "allowed": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ]
  },
  "autoAdded": true,
  "key": "2",
  "name": "01.02.03",
  "supported": true
}