MENU
      Deleting encoding options

        Deleting encoding options


        Article summary

        VOD Station provides an API for deleting the encoding options.

        Requests

        DELETE https://vodstation.apigw.ntruss.com/api/v2/encodingOption/{encodingOptionId}
        HTTP

        Request headers

        Header nameDescription
        x-ncp-region_codeNAVER Cloud Platform's region code
        x-ncp_region_code:{Region Code}
        x-ncp-apigw-timestampThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
        If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid.
        x-ncp-apigw-timestamp:{Timestamp}
        x-ncp-iam-access-keyAccess key ID value issued by the NAVER Cloud Platform portal
        x-ncp-iam-access-key:{Sub Account Access Key}
        x-ncp-apigw-signature-v2Signature encrypted with the Access Key ID value and Secret Key
        x-ncp-apigw-signature-v2:{API Gateway Signature}
        Content-TypeSpecify the request body content type as application/json
        Content-Type: application/json

        Responses

        Field nameTypeDescriptionRemarks
        errorObjectResponds when a request fails
        Error response code and message
        error.codeIntegerError response code
        error.messageStringError response message
        contentObjectVOD Station OPEN API response object
        content.disabledBooleanFiled provided to sub accounts
        Resource activation status for the Sub Account
        content.idStringEncoding option ID
        content.nameStringEncoding option name
        content.formatStringConverted media file's container format
        content.encodingOptionTypeStringEncoding option type
        content.audioObjectObject for setting transcoding audio option
        content.audio.codecStringAudio codec settings
        content.audio.channelIntegerOutput audio's channel settings
        content.audio.bitrateIntegerBit transfer rate settings of the video stream subject for transcoding (unit: Kbps)
        content.audio.samplingRateIntegerOutput audio sampling rate (unit: Hz)
        content.videoObjectObject for setting transcoding video option
        content.video.codecStringVideo codec settings
        content.video.codecOptionsObjectObject for setting video codec detailed options
        content.video.codecOptions.profileStringConfigured video codec profile
        content.video.codecOptions.levelStringConfigured video codec level
        content.video.bitrateIntegerVideo stream's bit transfer rate (unit: Kbps)
        content.video.widthIntegerOutput video’s width
        content.video.heightIntegerOutput video’s height
        content.video.framerateDoubleNumber of frames per second
        content.video.keyframeIntervalIntegerInterval at which key frames are created in the video (unit: seconds)
        content.video.rateControlStringBitrate distribution method
        content.defaultSetBooleanWhether there's a preset provided by system

        Examples

        Request examples

        DELETE https://vodstation.apigw.ntruss.com/api/v2/encoding-option/10058
        
        DELETE /api/v2/encoding-option
        HOST: vodstation.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-region_code:KR
        x-ncp-apigw-timestamp:1521787414578
        x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
        x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
        HTTP

        Response examples

        HTTP/1.1 200 OK
        Server: nginx
        Date: Wed, 12 Sep 2018 09:53:32 GMT
        Content-Type: application/json;charset=utf-8
        Connection: keep-alive
        Access-Control-Allow-Origin: *
        x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
        
        {
          "content": {
            "disabled": false,
            "id": 10058,
            "encodingOptionType": "NORMAL",
            "name": "basic-enc-option",
            "format": "MP4",
            "video": {
              "codec": "AVC",
              "codecOptions": {
                "profile": "MAIN",
                "level": "3.1"
              },
              "bitrate": 5000,
              "width": 1920,
              "height": 1080,
              "framerate": 30,
              "maxFramerate": 30,
              "keyframeInterval": 2,
              "rateControl": "ABR",
              "pass": "1-Pass"
            },
            "audio": {
              "codec": "AAC",
              "bitrate": 192,
              "channel": 2,
              "samplingRate": 44100
            }
          }
        }
        HTTP

        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.