The todo list remove command uses a beta endpoint that is now in v1.0.
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/me/todo/lists?$filter=displayName eq '${escape(args.options.name)}'`, |
|
headers: { |
|
accept: "application/json;odata.metadata=none" |
|
}, |
|
responseType: 'json' |
|
}; |
List lists: https://docs.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0&tabs=http
|
const requestOptions: any = { |
|
url: `${this.resource}/beta/me/todo/lists/${listId}`, |
|
headers: { |
|
accept: "application/json;odata.metadata=none" |
|
}, |
|
responseType: 'json' |
|
}; |
Delete todoTaskList: https://docs.microsoft.com/en-us/graph/api/todotasklist-delete?view=graph-rest-1.0&tabs=http
The
todo list removecommand uses abetaendpoint that is now inv1.0.cli-microsoft365/src/m365/todo/commands/list/list-remove.ts
Lines 41 to 47 in b7c27c8
List lists: https://docs.microsoft.com/en-us/graph/api/todo-list-lists?view=graph-rest-1.0&tabs=http
cli-microsoft365/src/m365/todo/commands/list/list-remove.ts
Lines 63 to 69 in b7c27c8
Delete todoTaskList: https://docs.microsoft.com/en-us/graph/api/todotasklist-delete?view=graph-rest-1.0&tabs=http