Skip to content

Commit 9302b35

Browse files
committed
Adding sync to team REST API description to ALM APIs
1 parent 844977e commit 9302b35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/apis/alm-api-for-spfx-add-ins.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,17 @@ Accept: 'application/json;odata=nometadata'
154154
> [!NOTE]
155155
> When you use the REST API to uninstall a solution package from the site, it is not relocated to the recycle bin.
156156
157+
### Synchronize a solution to the Microsoft Teams App Catalog
158+
159+
This REST call requires that you refer the **list item id** of the solution in the app catalog site.
160+
161+
```
162+
url: /_api/web/tenantappcatalog/SyncSolutionToTeams(id=xxxxx)
163+
method: POST
164+
Authorization: Bearer <access token>
165+
X-RequestDigest: <form digest>
166+
Accept: 'application/json;odata=nometadata'
167+
```
157168

158169
## SharePoint PnP PowerShell cmdlets
159170

0 commit comments

Comments
 (0)