Mutation
mutation DeleteDashboard($input: DeleteDashboardInput!) {
deleteDashboard(input: $input) {
deletedDashboardId
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"dashboardId": "id"
}
}Response
{
"data": {
"deleteDashboard": {
"deletedDashboardId": "id",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
deleteDashboard
Deletes a dashboard and its widgets. Requires dashboard:delete.
MUTATION
deleteDashboard(input: DeleteDashboardInput!): DeleteDashboardOutput!Arguments
input
required
Returns
deletedDashboardId
ID
error
Mutation
mutation DeleteDashboard($input: DeleteDashboardInput!) {
deleteDashboard(input: $input) {
deletedDashboardId
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"dashboardId": "id"
}
}Response
{
"data": {
"deleteDashboard": {
"deletedDashboardId": "id",
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

