Skip to content

Latest commit

 

History

History
121 lines (85 loc) · 4.13 KB

File metadata and controls

121 lines (85 loc) · 4.13 KB
title Get teamwork.
description Get organization settings for teamwork, such as the region of the organization and the Microsoft Teams enablement status.
author mea
ms.localizationpriority high
ms.subservice teams
doc_type apiPageType
ms.date 04/16/2024

Get teamwork

Namespace: microsoft.graph

Get the properties and relationships of a teamwork object, such as the region of the organization and whether Microsoft Teams is enabled.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

GET /teamwork

Request headers

Header Value
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code along with a teamwork object in the response body.

[!INCLUDE supported-regions]

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/v1.0/teamwork

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-type: application/json

{
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#teamwork",
    "id": "teamwork",
    "isTeamsEnabled": true,
    "region": "Americas"
}

Related content