//THE GO SDK IS IN PREVIEW. NON-PRODUCTION USE ONLY
graphClient := msgraphsdk.NewGraphServiceClient(requestAdapter)
result, err := graphClient.GroupSettingTemplates().Get()
//THE GO SDK IS IN PREVIEW. NON-PRODUCTION USE ONLY
graphClient := msgraphsdk.NewGraphServiceClient(requestAdapter)
result, err := graphClient.GroupSettingTemplates().Get()
HTTP/1.1 200 OK
Content-type: application/json
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#groupSettingTemplates",
"value": [
{
"id": "08d542b9-071f-4e16-94b0-74abb372e3d9",
"deletedDateTime": null,
"displayName": "Group.Unified.Guest",
"description": "Settings for a specific Unified Group",
"values": [
{
"name": "AllowToAddGuests",
"type": "System.Boolean",
"defaultValue": "true",
"description": "Flag indicating if guests are allowed in a specific Unified Group."
}
]
},
{
"id": "80661d51-be2f-4d46-9713-98a2fcaec5bc",
"deletedDateTime": null,
"displayName": "Prohibited Names Settings",
"description": "Setting templates define the different settings that can be used for the associated ObjectSettings. This template defines settings that can be used for managing tenant-wide prohibited names settings.",
"values": [
{
"name": "CustomBlockedSubStringsList",
"type": "System.String",
"defaultValue": "",
"description": "A comma delimited list of substring reserved words to block for application display names."
},
{
"name": "CustomBlockedWholeWordsList",
"type": "System.String",
"defaultValue": "",
"description": "A comma delimited list of reserved words to block for application display names."
}
]
}
]
}