Delete License API allows users to delete a license against a published video from a Channel or a main Account. This type of license allows administrators to set permissions such as the number views allowed for a content, the number of users allowed to view content, content availability etc. 

To use this API, a user must be logged in and therefore User Context established. This parameter can be used with other optional parameters to get the required result set. Some of the parameters are given in the table below.

To set User Context, either use VIDIZMO JS Login API before calling this method or use VIDIZMO Web Login method and additionally pass "access_token" parameter to this call API.

Sample Code


<script type="text/javascript">

    var ids = [];

var mashupHandler = "";
        var queryString = "?action=delete_licenses&suppress_response_codes=true";
        queryString += "&access_token=" + a_token;
                    type: "Post",
                    url: mashupHandler + queryString,
                    dataType: 'json',
                    data: JSON.stringify(ids),
                    success: function (data) {
                    error: function (req, type, ex) {



  "video_url": null,
  "video_id": null,
  "video_id_hash": null,
  "tracking_id": null,
  "tracking_id_hash": null,
  "content_id": null,
  "video_status_id": 0,
  "result": true,
  "status": 1,
  "status_code": 200,
  "message": "Submitted"


To learn more how these Widgets work, click here on VIDIZMO Web API Library.

For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.