Delete a playback ID

DELETE /assets/{assetId}/playback-ids/{playbackId}

Removes an playbackId from the asset.

Path parameters

Responses

  • 200 application/json

    Deleted a Playback Id successfully

    Hide response attribute Show response attribute object
    • success boolean

      It demonstrates either the request is successfull or not.

  • 404 application/json

    Asset or Playback Not Found

    Hide response attributes Show response attributes object
    • success boolean

      It demonstrates either the request is successfull or not.

    • error object
      Hide error attributes Show error attributes
      • code number

        Displays the status code of the error.

      • message string

        It demonstrates the cause of the error.

  • 401 application/json

    Unauthorized

    Hide response attributes Show response attributes object
    • success boolean

      It demonstrates either the request is successfull or not.

    • error object
      Hide error attributes Show error attributes
      • code integer

        Displays the status code of the error.

      • message string

        It demonstrates the cause of the error.

  • 422 application/json

    Payload Validation Failed

    Hide response attributes Show response attributes object
    • success boolean Required

      It demonstrates either the request is successfull or not.

    • error object Required
      Hide error attributes Show error attributes
      • code integer Required

        Displays the status code of the error.

      • message string Required

        It demonstrates the cause of the error.

      • fields array[object] Required
        Hide fields attributes Show fields attributes object
        • field string

          Shows the field name related to the error.

        • message string

          Shows why the error occur.

DELETE /assets/{assetId}/playback-ids/{playbackId}
curl \
 -X DELETE https://api.fastpix.io/v1/video/assets/{"availableValue"=>"dbb8a39a-e4a5-4120-9f22-22f603f1446e"}/playback-ids/{"availableValue"=>"dbb8a39a-e4a5-4120-9f22-22f603f1446e"} \
 --user "username:password"
Response examples (200)
{
  "success": true
}
Response examples (404)
{
  "success": false,
  "error": {
    "code": 404,
    "message": "Asset Not Found"
  }
}
Response examples (401)
{
  "success": false,
  "error": {
    "code": 401,
    "message": "Unauthorized"
  }
}
Response examples (422)
{
  "success": false,
  "error": {
    "code": 422,
    "message": "payload validation failed",
    "fields": [
      {
        "field": "fieldName",
        "message": "must not be null"
      }
    ]
  }
}