Skip to content

Delete Sheet

Legan_dary edited this page May 15, 2018 · 4 revisions
DELETE /api/deleteSheet

Return the ordered list of sheets without the deleted sheet.

Parameters

JSON Body Parameters

Field Data Type Description
bookId String The id of the current book.
sheetName String The name of the deleted sheet.

Example

Request

DELETE https://localhost:8080/api/deleteSheet
JSON Parameters:
{
    "bookId": "cjfx4leqo",
    "sheetName": "Grade"
}

Response

{
    "status": "success",
    "message": null,
    "data": {
        "sheets": [
            {
                "name": "Student",
                "numRow": 300,
                "numCol": 100
            },
            {
                "name": "Course",
                "numRow": 500,
                "numCol": 50
            }
        ]
    }
}

Clone this wiki locally