v8

latestSwagger 2.02026-07-13183157.6 KB

Creates a role assignment.

put/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}

Path parameters

scopestring required

The scope of the role assignment to create.

roleAssignmentNamestring required

The name of the role assignment to create. It can be any valid GUID.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

Response

The request has succeeded and a new resource has been created as a result.

idstring

The role assignment ID.

namestring

The role assignment name.

typestring

The role assignment type.