delete
- Print
- PDF
delete
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Deletes Notebook.
Requests
Request parameters
Parameter name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
id | YES | String | - id can be acquired through Notebooks’ getList API |
Request headers
Request bodies
- JSON
{ "id": "string" }
- XML
<?xml version="1.0" encoding="UTF-8"?> <DeleteNotebookRequest> <id>string</id> </DeleteNotebookRequest>
Errors
HTTP Status | Description |
---|---|
400 | invalid request parameters |
403 | not allowed to access |
404 | no such element |
500 | unexpected error |
Examples
Request Examples
POST https://df.apigw.ntruss.com/api/v2/notebooks/delete
HOST: df.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: Azm1WBMWDgEONUCUbsVkB4tRIpc053uOHU8bitbQRtU=
x-ncp-apigw-timestamp: 1658898041497
x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu
{
"id": "7kHeVWhiRsxdRl0nXz04ri"
}
curl -X POST "https://df.apigw.ntruss.com/api/v2/notebooks/delete" \
-H "accept: application/json" \
-H "Content-Type: application/json" \
-H "x-ncp-iam-access-key: F5O55GOTR4CqYJqPDnCu" \
-H "x-ncp-apigw-timestamp: 1684754030384"\
-H "x-ncp-apigw-signature-v2: 6x6Q4ll1J1P2ZFVF7OteE21tRYZUK8xoJePSMLGV3TY=" \
-d "{ \"id\": \"7kHeVWhiRsxdRl0nXz04ri\"}"
Response examples
HTTP
HTTP Status Description 200 OK BASH
{ "success": true, "id": "7kHeVWhiRsxdRl0nXz04ri" }
Errors examples
HTTP
HTTP Status Description 404 no such element BASH
{ "message": "no such element", "success": false }
Was this article helpful?