Skip to content

Commit 75e74b6

Browse files
committed
Simplify Remove-SPOContentSecurityPolicy
1 parent a408177 commit 75e74b6

File tree

1 file changed

+4
-23
lines changed

1 file changed

+4
-23
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Remove-SPOContentSecurityPolicy.md

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,45 +15,26 @@ ms.reviewer:
1515

1616
## SYNOPSIS
1717

18-
Removes an entry to the Content Security Policy configuration.
18+
Removes entries from the Content Security Policy configuration.
1919

2020
## SYNTAX
2121

2222
### Default
2323

2424
```powershell
25-
Remove-SPOContentSecurityPolicy [-Url] <String> [-Directive] <String>
25+
Remove-SPOContentSecurityPolicy [-Url] <String>
2626
```
2727

2828
## DESCRIPTION
2929

30-
Removes an entry to the Content Security Policy configuration.
31-
The url in each entry will be added to the corresponding directive during construction of the Content-Security-Policy header.
30+
Removes all entries associated with the given url from the Content Security Policy configuration.
3231
In multi-geo environments Content Security Policy entries are unique to each geo.
33-
Entries with a "*" directive will be applied to all directives.
3432

3533
## PARAMETERS
3634

3735
### -Url
3836

39-
Url of the Content Security Policy entry to be removed.
40-
41-
```yaml
42-
Type: String
43-
Parameter Sets: (All)
44-
Aliases:
45-
Applicable: SharePoint Online
46-
47-
Required: True
48-
Position: Named
49-
Default value: None
50-
Accept pipeline input: False
51-
Accept wildcard characters: False
52-
```
53-
54-
### -Directive
55-
56-
Directive of the Content Security Policy entry to be removed.
37+
Url of the Content Security Policy entries to be removed.
5738

5839
```yaml
5940
Type: String

0 commit comments

Comments
 (0)