Unpublish Custom View (Reserved)


Overview

Unpublish a custom aggregation view to make it private. After unpublishing, only the creator and collaborators can access the view.

URI

POST /rest/applications/{application}/custom-views/{viewId}/unpublish

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.

viewId (string)

The unique identifier of the custom view to unpublish.

Request Body

No request body required.

Responses

application/json

Example:

{
    "success": {
        "id": "abc123-def456",
        "name": "Cloud Migration Analysis",
        "collaborators": [],
        "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 view name.
success.collaborators[]stringList of collaborator usernames.
success.modestringThe view mode (“dynamic” or “static”).
success.publishedbooleanWill be false after unpublishing.
success.isCreatorbooleanWhether the current user is the creator.
success.createdBystringUsername of the view creator.
success.createdAtstringTimestamp when the view was created.