{{sidenavigation.sidenavigationExpandLabel}}
{{getMsg('Help_YouAreHere')}}: {{page.title}} {{page.title}}
{{$root.getMsg("downLoadHelpAsPdf")}} {{helpModel.downloadHelpPdfDataStatus}}

Teams

Request a list of teams that the user is either a member or an admin of.

GET /api/cowork/teams

Returns a list of teams available to the user in the following form:

[
    {
        "id": "<ID of the team>",
        "displayName": "<Name of the team>"
    },
    ...
]
RESPONSE Fields Value Type Description
id String The GUID of the team, used for details and further operations
displayName String The display name value of the channel, as displayed in the interface

Note: requesting the list of teams using the admin context with /api/cowork/admin/teams will return only teams that the user has administrative access to.

Example Request

# Request
# Use user:password for authorization
GET /api/cowork/teams/ HTTP/1.1
Accept: */*
Authorization: Bearer VGhpcyBpcyBqdXN0IGEgZGVtbyBhY2Nlc3MgdG9rZW4u
 
# Response
HTTP/1.1 200 OK
Content-Type: application/json
[
    {
        "id": "3n1ytbwme7ngfyn9g9guwwurt",
        "displayName": "First Team"
    },
    {
        "id": "5ypbaw82tt84pd9xfjww6b670",
        "displayName": "Second Team"
    }
]
i-net CoWork
This application uses cookies to allow login. By continuing to use this application, you agree to the use of cookies.


Help - /teams