Associate DRM Policy with an Account

You can associate a default DRM policy with your account. The default policy is assigned to all assets that aren't associated with a specific policy.

Note: For more information about Backlot REST API commands, see the Backlot API Reference.

Get the Default Policy

[GET]/provider_drm_policy

Associate Policy

[PUT]/provider_drm_policy/policy_id

Remove the Default Policy

[DELETE]/v2/provider_drm_policy

Example

This example associates the 86ff97ae7c81495eacbd9a01feff0f21 policy with the current account:

[PUT]/v2/drm_policy_#

Backlot returns a 200 response.

Note:

Try out the code samples using your account credentials in the Ooyala Scratchpad. For information about using the Scratchpad, see Practice Making Requests with the Scratchpad. To launch the scratchpad, go to Ooyala API Scratchpad.

Was this article helpful?