Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
beta | Teamwork List Teamtemplates | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamwork-list-teamtemplates.md | Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -Get the list of [teamTemplate](../resources/teamtemplate.md) objects that are available for the tenant. +Get the list of [teamTemplate](../resources/teamtemplate.md) objects that are available for a tenant. ## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). One of the following permissions is required to call this API. To learn more, in |Permission type|Permissions (from least to most privileged)| |:|:| |Delegated (work or school account)|Team.Create|-|Delegated (personal Microsoft account)|Not supported| +|Delegated (personal Microsoft account)|Not supported.| |Application|Team.Create| ## HTTP request If successful, this method returns a `200 OK` response code and a collection of ## Examples -## Example 1: Get a list of team templates +### Example 1: Get a list of team templates -### Request +#### Request The following is an example of a request. The following is an example of a request. GET https://graph.microsoft.com/beta/teamwork/teamTemplates ``` -### Response +#### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability. Content-Type: application/json ### Example 2: Use $extend and $filter to get templateDefinitions for en-US locale -### Request +#### Request The following is an example of a request. The following is an example of a request. GET https://graph.microsoft.com/beta/teamwork/teamTemplates?$expand=definitions&filter=definitions/any(a:a/languageTag eq 'en-US') ``` -### Response +#### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability. Content-Type: application/json "lastModifiedBy": null } ]- }, + } ] } ``` |