v5

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

Update application

Update an application. You can update the description and kind fields. Requires a JSON patch representation of the desired changes to the application. To learn more, read Updates.

patch/api/v2/applications/{applicationKey}

Path parameters

applicationKeystring string required

The application key

The application 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 response

_linksobject

The location and content type of related resources

_versioninteger

Version of the application

autoAddedboolean required

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

creationDateinteger
descriptionstring

The application description

keystring required

The unique identifier of this application

kind'browser' | 'mobile' | 'server' required

To distinguish the kind of application

namestring required

The name of the application

Example response

{
  "flags": {
    "items": [
      {
        "name": "Example flag",
        "key": "flag-key-123abc"
      }
    ],
    "totalCount": 1
  },
  "_access": {
    "denied": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ],
    "allowed": [
      {
        "reason": {
          "resources": [
            "proj/*:env/*;qa_*:/flag/*"
          ],
          "actions": [
            "*"
          ],
          "effect": "allow"
        }
      }
    ]
  },
  "autoAdded": true,
  "description": "The LaunchDarkly Cafe app",
  "key": "com.launchdarkly.cafe",
  "kind": "mobile",
  "_maintainer": {
    "member": {
      "_links": {
        "self": {
          "href": "/api/v2/members/569f183514f4432160000007",
          "type": "application/json"
        }
      },
      "_id": "569f183514f4432160000007",
      "firstName": "Ariel",
      "lastName": "Flores",
      "role": "admin",
      "email": "ariel@acme.com"
    },
    "team": {
      "customRoleKeys": [
        "access-to-test-projects"
      ],
      "key": "team-key-123abc",
      "name": "QA Team"
    }
  },
  "name": "LaunchDarklyCafe"
}