Edit

Edit a Account DRM for the current Account

This action requires a request with an active account.

Tokens

This action requires the following tokens:

  • accountdrm-write

Arguments

Required arguments are marked in bold, and optional arguments are marked in italics.

Argument Type Default Description
drm Hash    
streamtype String  

This argument can only contain one of the following values:

  • progressive
  • hls
  • mpeg-dash
  • hds
  • smooth
drmtype String  

This argument can only contain one of the following values:

  • no-drm
  • forbidden
  • playready
  • primetime
  • marlin
  • widevine
  • cenc
  • fairplay
  • aes-128
  • sample-aes
  • ske
  • conax
  • discretix
  • latens
provider String  

This argument can only contain one of the following values:

  • irdeto
  • sample-aes
licensekey String    
licensekeyiv String    
licenseserver String    
specificdata String    

Output

This action produces the following output on success:

An object containing the following fields:

Name Type Description
id Hash Id for this Account DRM
streamtype String Stream Type to use
drmtype String DRM type used
provider String 3rd party DRM provider
licensekey String License key for this DRM type
licensekeyiv String License key IV for this DRM type
licenseserver String License server for this DRM type
specificdata String Specific Data (PSSH) for this DRM type

Errors

This action can return one of the default status codes, or one of the following status codes on error:

STATUS_DRM_NOT_FOUND (520)
The requested record could not be found