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 |
---|---|---|---|---|
feature
|
path | True |
|
The name of the feature to unregister. |
resource
|
path | True |
|
The namespace of the resource provider. |
subscription
|
path | True |
|
The Azure subscription ID. |
api-version
|
query | True |
|
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
Error |
Error definition. |
Error |
Error response indicates that the service is not able to process the incoming request. |
Feature |
Information about feature. |
Feature |
Previewed feature information. |
ErrorDefinition
Error definition.
Name | Type | Description |
---|---|---|
code |
|
Service specific error code which serves as the substatus for the HTTP error code. |
details |
Internal error details. |
|
message |
|
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 |
|
The registration state of the feature for the subscription. |
FeatureResult
Previewed feature information.
Name | Type | Description |
---|---|---|
id |
|
The resource ID of the feature. |
name |
|
The name of the feature. |
properties |
Properties of the previewed feature. |
|
type |
|
The resource type of the feature. |