Update Custom View (Reserved)


Overview

Update an existing custom aggregation view. You can rename the view, update collaborators, or modify other properties.

URI

PUT /rest/applications/{application}/custom-views

Path parameters

application (string)

This parameter identifies the analyzed application. The application name must be properly encoded if required. Character back-quote is not allowed.

Request Body

{
    "id": "abc123-def456",
    "name": "Updated View Name",
    "collaborators": ["user1", "user2"],
    "mode": "dynamic"
}

A JSON object describing the view update:

PropertyTypeRequiredDescription
idstringYesThe unique identifier of the view to update.
namestringYesUpdated name of the custom view.
collaborators[]stringNoUpdated list of collaborator usernames.
modestringNoView mode. Options: “dynamic”, “static”.

Responses

application/json

Example:

{
    "success": {
        "id": "abc123-def456",
        "name": "Updated View Name",
        "collaborators": ["user1", "user2"],
        "mode": "dynamic",
        "published": false,
        "isCreator": true,
        "createdBy": "admin",
        "createdAt": "2024-01-15T10:30:00"
    }
}

JSON representation

PropertyTypeDescription
success.idstringThe unique identifier for the view.
success.namestringThe updated view name.
success.collaborators[]stringUpdated list of collaborator usernames.
success.modestringThe view mode (“dynamic” or “static”).
success.publishedbooleanWhether the view is published for sharing.
success.isCreatorbooleanWhether the current user is the creator.
success.createdBystringUsername of the view creator.
success.createdAtstringTimestamp when the view was created.