Applications (beta)

Update application version

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

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.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

applicationKey*string

The application key

Formatstring
versionKey*string

The application version 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/versions/string" \  -H "Content-Type: application/json" \  -d '[    {      "op": "replace",      "path": "/supported",      "value": "false"    }  ]'
{  "_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",  "key": "2",  "name": "01.02.03",  "supported": true}