Media Service - Delete

Deletes a Media Service.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{mediaServiceName}?api-version={api-version}

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The unique identifier for a Microsoft Azure subscription.

resourceGroupName
path True
  • string

Name of the resource group within the Azure subscription.

mediaServiceName
path True
  • string

Name of the Media Service.

Regex pattern: ^[a-z0-9]{3,24}$

api-version
query True
  • string

Version of the API to be used with the client request. The current version is 2015-10-01.

Responses

Name Type Description
200 OK

Success. The Media Services account was deleted.

204 No Content

No Content. The account name does not exist.

Other Status Codes

Delete Media Services failed.

Examples

MediaServiceDelete

Sample Request

DELETE https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaservices/contosmedia?api-version=2015-10-01

Sample Response

Definitions

Name Type Description
code
  • string

Error code.

message
  • string

Error message.