Getting Teams

In this article

    You can get a resource representation of organization teams.

    Request

    GET https://<hostname>:4443/v5/Organizations/{organizationId}/Teams

    Request Headers

    The request header must contain an authorization token of the current session.

    Request Parameters

    The following parameter must be specified in the URL of the request.

    Parameter

    Type

    Description

    organizationId

    string

    An identification number of the organization.

    Request Body

    None.

    Response

    The server returns the following response to the client.

    Response Codes

    A successfully completed operation returns a response code 200 OK.

    Response Headers

    The response to this request contains the following headers. The response may also include additional standard HTTPS headers.

    Header

    Description

    Content-length

    The length of the response body.

    Content-type

    The media type and syntax of the response body message: application/json; charset=utf-8

    Response Body

    In the response body, the server returns a resource representation of the /Organizations/{organizationId}/Teams resource.

    Examples

    Example 1

    Request:

    GET https://abc.tech.local:4443/v5/Organizations/3c424478-0811-4920-8aab-01f0bf2a2822/Teams

     

    Request Header:

    Authorization: Bearer <Access-Token>

     

    Response:

    200 OK

     

    Response Body:

    {

     "offset": 0,

     "limit": 30,

     "results": [

       {

         "id": "ef9eb317-0478-45b7-bf58-cc12e2088bef",

         "displayName": "Team",

         "description": "Team with 70 channels",

         "mail": "Team@abc.onmicrosoft.com",

         "_links": {

           "self": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822/teams/ef9eb317-0478-45b7-bf58-cc12e2088bef"

           },

           "organization": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822"

           }

         }

       },

       {

         "id": "a21a2761-c664-4e9c-9c3b-592ffb5ee3bf",

         "displayName": "All",

         "description": "A lot of tabs",

         "mail": "All@abc.onmicrosoft.com",

         "_links": {

           "self": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822/teams/a21a2761-c664-4e9c-9c3b-592ffb5ee3bf"

           },

           "organization": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822"

           }

         }

       },

       {

         "id": "448c5b66-8dcd-4c75-b636-d3b500bce36f",

         "displayName": "IT&Finance",

         "description": "IT&Finance",

         "mail": "IT&Finance@abc.onmicrosoft.com",

         "_links": {

           "self": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822/teams/448c5b66-8dcd-4c75-b636-d3b500bce36f"

           },

           "organization": {

             "href": "https://abc.tech.local:4443/v5/organizations/3c424478-0811-4920-8aab-01f0bf2a2822"

           }

         }

       },

     ],

     "_links": {

       "self": {

         "href": "https://abc.tech.local:4443/v5/Organizations/3c424478-0811-4920-8aab-01f0bf2a2822/Teams?offset=0&limit=30&setid=58e0e14a-e096-472e-8acf-3e1067a146db"

       },

       "next": {

         "href": "https://abc.tech.local:4443/v5/Organizations/3c424478-0811-4920-8aab-01f0bf2a2822/Teams?offset=30&limit=30&setid=58e0e14a-e096-472e-8acf-3e1067a146db"

       }

     }

    }

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.