RoleAssignments
Creates a role assignment.
put/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
Path parameters
scopestring required
The scope of the role assignment to create. The scope can be any REST resource instance. For example, use '/subscriptions/{subscription-id}/' for a subscription, '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a resource group, and '/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}' for a resource.
roleAssignmentNamestring required
A GUID for the role assignment to create. The name must be unique and different for each role assignment.
Parameters
../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter — unresolved $ref
Request body
Response
Created - Returns information about the role assignment.