Mprove
.json
DeleteDraftDashboards
POST/api/ToBackendDeleteDraftDashboards

Delete the current user's draft dashboards

Request Body

application/json

Response Body

application/json

curl -X POST "http://localhost:3000/api/ToBackendDeleteDraftDashboards" \  -H "Content-Type: application/json" \  -d '{    "info": {      "name": "api/ToBackendDeleteDraftDashboards",      "traceId": "string",      "idempotencyKey": "string"    },    "payload": {      "projectId": "string",      "repoId": "string",      "branchId": "string",      "envId": "string",      "dashboardIds": [        "string"      ]    }  }'
{
  "info": {
    "path": "/api/ToBackendDeleteDraftDashboards",
    "method": "POST",
    "mproveVersion": "string",
    "duration": 0,
    "status": "Ok",
    "traceId": "string",
    "error": null
  },
  "payload": {
    "dashboardUnitDrafts": [
      {
        "type": "dashboardUnit",
        "id": "string",
        "dashboardId": "string",
        "draft": true,
        "title": "string",
        "filePath": "string",
        "space": "string",
        "accessRoles": [
          "string"
        ],
        "accessRolesCombined": [
          {
            "role": "string",
            "isDirect": true
          }
        ],
        "author": "string",
        "canEditOrDeleteDashboard": true,
        "isFavorite": true,
        "spaceFullTitle": "string"
      }
    ]
  }
}