Skip to content

Commit 3fe8fe5

Browse files
estruyfLinda Caputo
authored andcommitted
Updated API endpoint (SharePoint#2530)
Updated the `RemoveTenantTheme` API endpoint to `DeleteTenantTheme`. The `RemoveTenantTheme` doesn't exist, so the `DeleteTenantTheme` is the correct one to call.
1 parent c1713c0 commit 3fe8fe5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/declarative-customization/site-theming/sharepoint-site-theming-rest-api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ Before you get started, make sure that you're familiar with the following:
2222
The following REST commands are available for working with site themes:
2323

2424
* __AddTenantTheme__ – create a new theme; similar to the Add-SPOTheme SharePoint cmdlet
25-
* __RemoveTenantTheme__ – remove a theme from the tenant store; similar to the Remove-SPOTheme PowerShell cmdlet
25+
* __DeleteTenantTheme__ – remove a theme from the tenant store; similar to the Remove-SPOTheme PowerShell cmdlet
2626
* __GetTenantThemingOptions__ – read theme settings
2727

2828
The URL for theme management REST commands is based on _api/thememanager. For example, the following are the endpoints for the commands:
2929

3030
* `http://<site url>/_api/thememanager/AddTenantTheme`
31-
* `http://<site url>/_api/thememanager/RemoveTenantTheme`
31+
* `http://<site url>/_api/thememanager/DeleteTenantTheme`
3232
* `http://<site url>/_api/thememanager/GetTenantThemingOptions`
3333

3434
## AddTenantTheme
@@ -87,7 +87,7 @@ RestRequest("/_api/thememanager/AddTenantTheme", {name:"Sounders Rave Green", th
8787

8888
<br/>
8989

90-
## RemoveTenantTheme
90+
## DeleteTenantTheme
9191

9292
The following JavaScript sample code shows how to remove a theme.
9393

0 commit comments

Comments
 (0)