Microsoft.Authorization (stable:2017-04-01)

2025/12/05 • 17 new, 17 deleted methods

AuthorizationOperations_List (new)
Description Lists all of the available Microsoft.Authorization REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Authorization/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtResourceGroupLevel (new)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtResourceGroupLevel (new)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtResourceGroupLevel (new)
Description Gets a management lock at the resource group level.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateByScope (new)
Description Create or update a management lock by scope.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteByScope (new)
Description Delete a management lock by scope.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetByScope (new)
Description Get a management lock by scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtResourceLevel (new)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtResourceLevel (new)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtResourceLevel (new)
Description Get the management lock of a resource or any level below resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtSubscriptionLevel (new)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtSubscriptionLevel (new)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtSubscriptionLevel (new)
Description Gets a management lock at the subscription level.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtResourceGroupLevel (new)
Description Gets all the management locks for a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks
{
resourceGroupName: string ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtResourceLevel (new)
Description Gets all the management locks for a resource or any level below resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtSubscriptionLevel (new)
Description Gets all the management locks for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks
{
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListByScope (new)
Description Gets all the management locks for a scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Authorization/locks
{
scope: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AuthorizationOperations_List (removed)
Description Lists all of the available Microsoft.Authorization REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Authorization/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtResourceGroupLevel (removed)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtResourceGroupLevel (removed)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtResourceGroupLevel (removed)
Description Gets a management lock at the resource group level.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateByScope (removed)
Description Create or update a management lock by scope.
Reference Link ¶

⚼ Request

PUT:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteByScope (removed)
Description Delete a management lock by scope.
Reference Link ¶

⚼ Request

DELETE:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetByScope (removed)
Description Get a management lock by scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Authorization/locks/{lockName}
{
scope: string ,
lockName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtResourceLevel (removed)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtResourceLevel (removed)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtResourceLevel (removed)
Description Get the management lock of a resource or any level below resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks/{lockName}
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_CreateOrUpdateAtSubscriptionLevel (removed)
Description When you apply a lock at a parent scope, all child resources inherit the same lock. To create management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
parameters:
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (201)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_DeleteAtSubscriptionLevel (removed)
Description To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (204)

{}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_GetAtSubscriptionLevel (removed)
Description Gets a management lock at the subscription level.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
{
lockName: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtResourceGroupLevel (removed)
Description Gets all the management locks for a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/locks
{
resourceGroupName: string ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtResourceLevel (removed)
Description Gets all the management locks for a resource or any level below resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/locks
{
resourceGroupName: string ,
resourceProviderNamespace: string ,
parentResourcePath: string ,
resourceType: string ,
resourceName: string ,
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListAtSubscriptionLevel (removed)
Description Gets all the management locks for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks
{
$filter: string ,
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ManagementLocks_ListByScope (removed)
Description Gets all the management locks for a scope.
Reference Link ¶

⚼ Request

GET:  /{scope}/providers/Microsoft.Authorization/locks
{
scope: string ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
level: enum ,
notes: string ,
owners:
[
{
applicationId: string ,
}
,
]
,
}
,
id: string ,
type: string ,
name: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}