Applications (beta)

Update application

PATCH
/api/v2/applications/{applicationKey}

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.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

applicationKey*string

The application key

Formatstring

Request Body

application/json

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/v2/applications/string" \  -H "Content-Type: application/json" \  -d '[    {      "op": "replace",      "path": "/description",      "value": "Updated description"    }  ]'
{  "flags": {    "items": [      {        "name": "Example flag",        "key": "flag-key-123abc",        "_links": {          "property1": {            "href": "string",            "type": "string"          },          "property2": {            "href": "string",            "type": "string"          }        },        "_site": {          "href": "string",          "type": "string"        }      }    ],    "totalCount": 1,    "_links": {      "property1": {        "href": "string",        "type": "string"      },      "property2": {        "href": "string",        "type": "string"      }    }  },  "_access": {    "denied": [      {        "action": "string",        "reason": {          "resources": [            "proj/*:env/*;qa_*:/flag/*"          ],          "notResources": [            "string"          ],          "actions": [            "*"          ],          "notActions": [            "string"          ],          "effect": "allow",          "role_name": "string"        }      }    ],    "allowed": [      {        "action": "string",        "reason": {          "resources": [            "proj/*:env/*;qa_*:/flag/*"          ],          "notResources": [            "string"          ],          "actions": [            "*"          ],          "notActions": [            "string"          ],          "effect": "allow",          "role_name": "string"        }      }    ]  },  "_links": {    "property1": {      "href": "string",      "type": "string"    },    "property2": {      "href": "string",      "type": "string"    }  },  "_version": 0,  "autoAdded": true,  "creationDate": "1654104600000",  "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",      "_links": {        "property1": {          "href": "string",          "type": "string"        },        "property2": {          "href": "string",          "type": "string"        }      },      "name": "QA Team"    }  },  "name": "LaunchDarklyCafe"}