Please, help. https://www.googleapis.com/admin/directory/v1/groups/106274944935548788283 sending a GET request to obtain information about the group with id 1062 ... Here is a link to the method in Google https://developers.google.com/admin-sdk/directory/v1/guides/manage-groups#get_group In response get the error - 401 Unauthorized. With OAuth to authenticate via a user has received all the rights that are necessary for the request, included in the console Admin SDK. Authorization is successful, there is a token. What is not so I can not understand. If not hard - response.
Requested information:
file_get_contents("https://www.googleapis.com/admin/directory/v1/groups/106274944935548788283?key=AIzaSyBrUhIOMDf9NlX9Lx3ImXWEsQMcRNhH4L4");
id group - "106274944935548788283"
Key applications just in case - "AIzaSyBrUhIOMDf9NlX9Lx3ImXWEsQMcRNhH4L4"
Error: failed to open stream: HTTP request failed! HTTP/1.0 401 Unauthorized