Remove Share Custom Dashboard

Remove Share Custom Dashboard

Share custom dashboard with users and LDAP/vIDM groups. Only admin and member users can perform this action

Request
URI
PUT
https://{api_host}/api/ni/custom-dashboards/{id}/remove-share
COPY
Path Parameters
string
id
Required

The Entity ID of object requestion information on


Request Body

Remove custom dashboard share for given users and groups

ShareCustomDashboardRequest of type(s) application/json
Required
{
    "users_read_access": [
        "[email protected]",
        "[email protected]"
    ],
    "users_write_access": [
        "[email protected]",
        "[email protected]"
    ],
    "groups_read_access": [
        "CN=Dev,CN=Users,DC=vrni,DC=com"
    ],
    "groups_write_access": [
        "CN=HR,CN=Users,DC=vrni,DC=com"
    ]
}
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 all privileges for the custom dashboard

array of string
groups_read_access
Optional

List of groups with read privilege for the custom dashboard

array of string
groups_write_access
Optional

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

Authentication
This operation uses the following authentication methods.
Responses
200

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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/custom-dashboards/{id}/remove-share