MENU
      delete

        delete


        Article summary

        Available in VPC

        Deletes Notebook.

        Requests

        Request parameters

        Parameter nameRequirement statusTypeRestrictionsDescription
        idYESString- id can be acquired through Notebooks’ getList API

        Request headers

        See common guide.

        Request bodies

        • JSON
          {
            "id": "string"
          }
          JSON
        • XML
          <?xml version="1.0" encoding="UTF-8"?>
          <DeleteNotebookRequest>
              <id>string</id>
          </DeleteNotebookRequest>
          XML

        Errors

        HTTP StatusDescription
        400invalid request parameters
        403not allowed to access
        404no such element
        500unexpected 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"
        }
        HTTP
        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\"}"
        Bash

        Response examples

        • HTTP

          HTTP StatusDescription
          200OK
        • BASH

          {
              "success": true,
              "id": "7kHeVWhiRsxdRl0nXz04ri"
          }
          JSON

        Errors examples

        • HTTP

          HTTP StatusDescription
          404no such element
        • BASH

          {
              "message": "no such element",
              "success": false
          }
          JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.