Regenerate Media Services Secondary Account Key


It is now recommended to use the Azure Resource Manager (ARM) REST API endpoints, as described in Media Services management REST API reference.

The POST request method described in this topic request to regenerate the specified Media Services account secondary identity key.

The request may be specified as follows. Replace <subscription-id> with your subscription ID, <accountName> with your account name:

Method Request URI
POST https://endpoint/<subscriptionId>/services/mediaservices/Accounts/<accountName>/AccountKeys/Secondary/Regenerate

A successful operation returns status code 204 (NoContent). For information about error codes, see Media Services Management Error Codes.


See How to: Use Media Services Management REST API.