It is now recommended to use the Azure Resource Manager (ARM) REST API endpoints, as described in Media Services management REST API reference.
PUT request method described in this topic synchronizes Media Services storage account records with the storage account key. The new key is returned in the request body.
For example, if you regenerate the storage account key using portal, you can call this method to get the updated key value.
The request may be specified as follows. Replace
<subscription-id> with your subscription ID,
<accountName> with your account name, and
<storageAccount> with the Storage Account name that is associated with the specified Media Services account:
A successful operation returns status code 204 (NoContent). For information about error codes, see Media Services Management Error Codes.