File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,29 @@ https://contoso.sharepoint.com/_api/HubSites/GetById?hubSiteId='f93eff08-5806-49
110
110
}
111
111
```
112
112
113
+ ### Associate a hub with another hub (parent hub association)
114
+
115
+ #### Sample request
116
+
117
+ ``` HTTP
118
+ POST
119
+ https://contoso.sharepoint.com/_api/HubSites/GetById('f93eff08-5806-499c-92db-38800eefbe44')
120
+ ```
121
+
122
+ ``` JSON
123
+ {
124
+ "__metadata" : { "type" : " SP.HubSite" },
125
+ "Title" :" Marketing hub site" ,
126
+ "LogoUrl" : " https://contoso.sharepoint.com/sites/marketing/SiteAssets/__hubLogo____hubLogo__.png" ,
127
+ "Description" : " Hub site for marketing coordination" ,
128
+ "ParentHubSiteId" :" 269da5d4-6a9e-45a5-9502-a74d14977293"
129
+ }
130
+ ```
131
+
132
+ #### Sample response
133
+
134
+ ** Status code:** 204
135
+
113
136
## See also
114
137
115
138
- [ Hub site REST API] ( hub-site-rest-api.md )
You can’t perform that action at this time.
0 commit comments