DeleteDraftReports
POST
/api/ToBackendDeleteDraftReportsDelete the user's draft reports
Request Body
application/json
Response Body
application/json
curl -X POST "http://localhost:3000/api/ToBackendDeleteDraftReports" \ -H "Content-Type: application/json" \ -d '{ "info": { "name": "api/ToBackendDeleteDraftReports", "traceId": "string", "idempotencyKey": "string" }, "payload": { "projectId": "string", "repoId": "string", "branchId": "string", "envId": "string", "reportIds": [ "string" ] } }'{
"info": {
"path": "/api/ToBackendDeleteDraftReports",
"method": "POST",
"mproveVersion": "string",
"duration": 0,
"status": "Ok",
"traceId": "string",
"error": null
},
"payload": {
"reportUnitDrafts": [
{
"type": "reportUnit",
"id": "string",
"reportId": "string",
"title": "string",
"filePath": "string",
"space": "string",
"accessRoles": [
"string"
],
"accessRolesCombined": [
{
"role": "string",
"isDirect": true
}
],
"author": "string",
"canEditOrDeleteReport": true,
"isFavorite": true,
"draft": true,
"spaceFullTitle": "string"
}
]
}
}