< Back

Remove-AdminDlpPolicy

Sat Jan 18, 2020 3:48 pm

NAME Remove-AdminDlpPolicy



SYNOPSIS

Deletes the specific Api policy. Delete is successful if it returns a 202 response, 204 means it did not delete.





SYNTAX

Remove-AdminDlpPolicy -PolicyName <String> [-EnvironmentName <String>] [-ApiVersion <String>] [<CommonParameters>]





DESCRIPTION

Remove-AdminDlpPolicy cmdlet deletes a DLP policy.

Use Get-Help Remove-AdminDlpPolicy -Examples for more detail.





PARAMETERS

-PolicyName <String>

Finds policy matching the specified name.



Required? true

Position? named

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-EnvironmentName <String>

The Environment's identifier.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiVersion <String>

Specifies the Api version that is called.



Required? false

Position? named

Default value 2016-11-01

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Remove-AdminDlpPolicy -PolicyName 8c02d657-ad72-4bb9-97c5-afedc4bcf24b



Deletes policy 8c02d657-ad72-4bb9-97c5-afedc4bcf24b from tenant.









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Remove-AdminDlpPolicy -EnvironmentName Default-02c201b0-db76-4a6a-b3e1-a69202b479e6 -PolicyName

8c02d657-ad72-4bb9-97c5-afedc4bcf24b



Deletes policy 8c02d657-ad72-4bb9-97c5-afedc4bcf24b from environment Default-02c201b0-db76-4a6a-b3e1-a69202b479e6.











RELATED LINKS