Skip to main content

Service Secure Delete


You can use the following URL to test the Secure Delete functionality with a PlayReady client.

Test Server Url: http://test.playready.microsoft.com/service/rightsmanager.asmx
SOAPAction: http://schemas.microsoft.com/DRM/2007/03/protocols/ProcessDeleteLicenseData


The client has to be PlayReady 4.0 minimum, and support that functionality.
One example of such a client is the Edge browser in Windows 10 Fall Creators Update, running an EME application that calls the EME remove() function.
See the EME specification here for more details: https://www.w3.org/TR/encrypted-media/ .

JavaScript snippet:

// App creates a persistent license session.
var keySession = mediaKey.createSession("persistent-license");

// App loads the persistent license session using the SessionId previously acquired.
keySession.load(sessionId);

// App removes the license. After this call, the App will receive a MediaKey event
// with the Secure Delete challenge.
keySession.remove();

// App feeds back the Secure Delete response retrieved from the server.
keySession.update(secureDeleteResponse);