Delete schedule
    • PDF

    Delete schedule

    • PDF

    Article Summary

    The API that deletes VOD schedules created in Live Station.

    Request

    DELETE https://livestation.apigw.ntruss.com/api/v2/vod/schedule/{scheduleId}
    

    Request header

    Header nameRequirement statusDescription
    x-ncp-apigw-timestampYESIt indicates the time elapsed since January 1, 1970 00:00:00 UTC in milliseconds, and 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-keyYESAccess key ID value issued on the NAVER Cloud Platform portal
    x-ncp-iam-access-key:{Sub Account Access Key}
    x-ncp-apigw-signature-v2YESSignature encrypted with the access key ID value and secret key
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    x-ncp-region_codeYESRegion code (KR)

    Response

    Field nameTypeDescriptionRemarks
    scheduleIdInteger
    channelIdStringVOD channel ID to which schedule is linked
    createdTimeTimestampSchedule creation time (epoch time)
    startTimeTimestampTime when first video will be streamed (epoch time)
    endTimeTimestampEstimated streaming end time (epoch time)
    updatedTimeTimestamp
    statusStringSchedule statusCREATING,PROCESSING,PROCESSING_FAIL,UPDATING,READY,FINISH,DELETED
    vodList[]String[]

    Example

    Request example

    DELETE /api/v2/vod/schedule/10053
    HOST: livestation.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-timestamp:1521787414578
    x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
    x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
    x-ncp-region_code:KR
    

    Response example

    HTTP/1.1 200 OK
    Server: nginx
    Date: Fri, 26 Feb 2021 09:53:32 GMT
    Content-Type: application/json;charset=utf-8
    Connection: keep-alive
    Access-Control-Allow-Origin: *
    x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
    
    {
      "content": {
        "scheduleId": 10053,
        "channelId": "ls-20211122220557-mUv3r",
        "createdTime": 1637711621000,
        "startTime": 1637679145000,
        "endTime": 1637683800000,
        "updatedTime": 1637679495873,
        "deletedTime": 1637679495873,
        "status": "DELETED",
        "vodList": [
          "/myBucket/myFile.mp4"
        ]
      }
    }
    
    

    Was this article helpful?

    What's Next
    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.