Get a list of owners for groups in LearnCenter.

get

/learn.rest/v1/learnCenters/{learnCenterId}/groups/{groupId}/owners

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

Group owners collection fetched.
Body ()
Root Schema : GroupOwnersResponse
Type: object
Response object for Group Owners.
Show Source
Example:
{
    "items":[
        {
            "id":112867,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners/112867"
                }
            ]
        }
    ],
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners"
        }
    ]
}
Nested Schema : GroupOwnerLinkItem
Type: object
Link to the list of group owners.
Show Source
Example:
{
    "rel":"canonical",
    "href":"{url}/learn.rest/v1/learnCenter/178409/groups/456/owners/112867"
}
Example Response (application/json)
{
    "items":[
        {
            "id":112867,
            "links":[
                {
                    "rel":"canonical",
                    "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners/112867"
                }
            ]
        }
    ],
    "links":[
        {
            "rel":"canonical",
            "href":"https://{url}/learn.rest/v1/learnCenters/178409/groups/766/owners"
        }
    ]
}

401 Response

Authentication refused for provided credentials or token invalid.
Headers

500 Response

Internal server error.
Back to Top