external help file: Builtin-help.xml Module Name: Builtin online version: schema: 2.0.0
Remove-RolePermission
SYNOPSIS
Remove a permission from a role.
SYNTAX
Remove-RolePermission -Bot <Object> [-Role] <String> [-Permission] <String> [<CommonParameters>]
DESCRIPTION
{{ Fill in the Description }}
EXAMPLES
EXAMPLE 1
!remove-rolepermission --role 'itsm-modify' --permission 'itsm:create-ticket'
Remove the [itsm:create-ticket] permission from the [itsm-modify] role.
PARAMETERS
-Bot
{{ Fill Bot Description }}
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Role
The name of the role to remove a permission from.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Permission
The name of the permission to remove from the role.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.