Applications

Edit Application Installation

Required scopes: application.installation (Read and Write).

patch/applications/installations/{identifier}

Request

Path parameters

identifierstring required

Application Identifier. Get via List Applications

Request body

op'replace' required

Patch operation to perform

pathstring json-pointer required

A JSON Pointer as defined by <a href="https://tools.ietf.org/html/rfc6901" target="_blank">RFC 6901</a> identifying the field to replace.<br><br>Supported paths:<br>• /permissions and /modules/{moduleKey}/permissions (where {moduleKey} is a module key from the manifest) - available for any installation.<br>• /manifest - the full manifest content, available only for applications installed from manifest content (not from a manifest URL). A single request may combine a /manifest operation with permission operations; the manifest is applied first, so permissions can target modules the new manifest introduces.

Example request

[
  {
    "value": {
      "user": {
        "value": "managers",
        "ids": []
      },
      "project": {
        "value": "restricted",
        "ids": [
          1
        ]
      }
    }
  }
]

Response

Application data

Example response

{
  "data": {
    "identifier": "example-application",
    "name": "Application name",
    "installedBy": {
      "id": 12,
      "username": "john_smith",
      "fullName": "John Smith"
    },
    "description": "Application description",
    "logo": "/resources/images/logo.png",
    "logoUrl": "https://localhost.dev/resources/images/logo.png",
    "agent": {
      "id": 12,
      "username": "john_smith",
      "fullName": "John Smith"
    },
    "baseUrl": "https://localhost.dev",
    "manifestUrl": "https://localhost.dev",
    "createdAt": "2019-09-20T11:34:40+00:00",
    "manifestUpdatedAt": "2019-09-20T11:34:40+00:00",
    "modules": [
      {
        "key": "example-application",
        "type": "module-type",
        "permissions": {
          "user": {
            "value": "restricted",
            "ids": [
              1
            ]
          }
        },
        "authenticationType": "none"
      }
    ],
    "scopes": [
      "project"
    ],
    "permissions": {
      "user": {
        "value": "restricted",
        "ids": [
          1
        ]
      },
      "project": {
        "value": "restricted",
        "ids": [
          1
        ]
      }
    },
    "defaultPermissions": {
      "user": "owner",
      "project": "own"
    },
    "limitReached": true,
    "bundle": {
      "mode": "internal"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.