Skip to main content

spo contenttype list

Lists content types from specified site


m365 spo contenttype list [options]


-u, --webUrl <webUrl>

Absolute URL of the site for which to list content types

-c, --category [category]

Category name of content types. When defined will return only content types from specified category

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is full.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md. Default json.


Runs command with verbose logging.


Runs command with debug logging.


Retrieve site content types

m365 spo contenttype list --webUrl ""

Retrieve site content types from the 'List Content Types' category

m365 spo contenttype list --webUrl "" --category "List Content Types"