ManagementLocks
Creates or updates a management lock at the subscription level.
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.
put/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/locks/{lockName}
Path parameters
lockNamestring required
The name of lock. The lock name can be a maximum of 260 characters. It cannot contain <, > %, &, :, , ?, /, or any control characters.
subscriptionIdstring required
The ID of the target subscription.
Query parameters
api-versionstring required
The API version to use for the operation.
Request body
Response
OK - Returns information about the lock.