Features - Unregister

Unregisters the preview feature for the subscription.

POST https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Features/providers/{resourceProviderNamespace}/features/{featureName}/unregister?api-version=2021-07-01

URI Parameters

Name In Required Type Description
featureName
path True
  • string

The name of the feature to unregister.

resourceProviderNamespace
path True
  • string

The namespace of the resource provider.

subscriptionId
path True
  • string

The Azure subscription ID.

api-version
query True
  • string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK - Returns metadata about the unregistered feature. The metadata includes the name of the feature, the registration state, the resource ID, and resource type.

Media Types: "application/json", "text/json"

Other Status Codes

Error response describing the reason for operation failure.

Media Types: "application/json", "text/json"

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Register feature

Sample Request

POST https://management.azure.com/subscriptions/ff23096b-f5a2-46ea-bd62-59c3e93fef9a/providers/Microsoft.Features/providers/Resource Provider Namespace/features/feature/unregister?api-version=2021-07-01

Sample Response

{
  "name": "Feature1",
  "properties": {
    "state": "unregistered"
  },
  "id": "/subscriptions/ff23096b-f5a2-46ea-bd62-59c3e93fef9a/providers/Microsoft.Features/providers/Microsoft.Test/features/Feature1",
  "type": "Microsoft.Features/providers/features"
}

Definitions

ErrorDefinition

Error definition.

ErrorResponse

Error response indicates that the service is not able to process the incoming request.

FeatureProperties

Information about feature.

FeatureResult

Previewed feature information.

ErrorDefinition

Error definition.

Name Type Description
code
  • string

Service specific error code which serves as the substatus for the HTTP error code.

details

Internal error details.

message
  • string

Description of the error.

ErrorResponse

Error response indicates that the service is not able to process the incoming request.

Name Type Description
error

The error details.

FeatureProperties

Information about feature.

Name Type Description
state
  • string

The registration state of the feature for the subscription.

FeatureResult

Previewed feature information.

Name Type Description
id
  • string

The resource ID of the feature.

name
  • string

The name of the feature.

properties

Properties of the previewed feature.

type
  • string

The resource type of the feature.