v8
latestSwagger 2.02026-07-13183157.6 KBCreates or updates a custom role definition.
put/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionName}
Path parameters
scopestring required
The scope of the role definition to create or update. Managed HSM only supports '/'.
roleDefinitionNamestring required
The name of the role definition to create or update. 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.