Duplicate Custom Dashboard

Duplicate Custom Dashboard

Creates duplicate of a given custom dashboard. Only admin and member users can perform this action

Request
URI
POST
https://{api_host}/api/ni/custom-dashboards/{id}/duplicate
COPY
Path Parameters
string
id
Required

The Entity ID of object requestion information on


Request Body

Duplicate custom dashboard request

DuplicateCustomDashboardRequest of type(s) application/json
Required
{
    "name": "Custom Dashboard Name",
    "description": "This is a Custom Dashboard",
    "retain_access_permissions": false
}
string
name
Optional

Name of the custom dashboard

string
description
Optional

Description of the custom dashboard

boolean
retain_access_permissions
Optional

Should custom dashboard permissions be copied while duplicating the custom dashboard.

Authentication
This operation uses the following authentication methods.
Responses
201

Success

Returns CustomDashboardResponse of type(s) application/json
"CustomDashboardResponse Object"
string
id
Optional

Entity Identifier for a custom dashboard

string
name
Optional

Descriptor or identifier for particular custom dashboard.

string
description
Optional

Description of the custom dashboard

string
create_timestamp
Optional

Create timestamp for custom dashboard

string
last_updated_timestamp
Optional

Last update timestamp for custom dashboard

string
owner
Optional

User email of the custom dashboard owner

array of string
users_read_access
Optional

List of users with read privilege for the custom dashboard

array of string
users_write_access
Optional

List of users with read and write privilege for the custom dashboard

array of object
pins
Optional

Pins associated with custom dashboard

array of string
groups_write_access
Optional

LDAP/VIDM groups with read and write privilege of the custom dashboard

array of string
groups_read_access
Optional

LDAP/VIDM groups with read privilege of the custom dashboard


400

Bad Request

Returns ApiError of type(s) application/json
"ApiError Object"
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of object
details
Optional

details


401

Unauthorized

Returns ApiError of type(s) application/json
"ApiError Object"
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of object
details
Optional

details


500

Internal Error

Returns ApiError of type(s) application/json
"ApiError Object"
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of object
details
Optional

details


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/custom-dashboards/{id}/duplicate