Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

Adding a Content Type to a document library using Send HTTP Request

Hello Community, 


I am wondering if it is possible to add an existing content type to a document library using the SharePoint Send HTTP Request? I have a flow that gets a list of new sites, and I would like to automatically cycle through those and add a content type to their default document library.  


If this is not possible, is it possible to add an existing managed metadata column to a document library using the Send HTTP Request?


Thanks for the help. Always appreciated. 

Super User
Super User

Hi @landonjochim,


If the content type already exists on the site and on the library the management of content types is allowed you could use the addavailablecontenttype method to add it.


Below is an example of that:


Thanks for the response that helped! Is there a method to set the default content type?

Super User
Super User

Hi @landonjochim,


It might be possible via the uniqueContentTypeOrder method:


But I haven't tried that myself to be honest.

Hello, I have the same question about setting the default content type. Did you manage to get it to work?

Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,014)