Skip to content

Commit 497c004

Browse files
ktskumarrabwill
authored andcommitted
Updates 'teams user app remove' to Graph v1.0. Closes pnp#2514
1 parent 27ebc5e commit 497c004

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

docs/docs/cmd/teams/user/user-app-remove.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ m365 teams user app remove [options]
2323

2424
## Remarks
2525

26-
!!! attention
27-
This command is based on an API that is currently in preview and is subject to change once the API reached general availability.
28-
2926
The `appId` has to be the id of the app instance installed for the user.
3027
Do not use the ID from the manifest of the zip app package or the id from the Microsoft Teams App Catalog.
3128

src/m365/teams/commands/user/user-app-remove.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TeamsUserAppRemoveCommand extends GraphCommand {
3333

3434
public commandAction(logger: Logger, args: CommandArgs, cb: () => void): void {
3535
const removeApp: () => void = (): void => {
36-
const endpoint: string = `${this.resource}/beta`;
36+
const endpoint: string = `${this.resource}/v1.0`;
3737

3838
const requestOptions: any = {
3939
url: `${endpoint}/users/${args.options.userId}/teamwork/installedApps/${args.options.appId}`,

0 commit comments

Comments
 (0)