Block types
Create Block Type
Create a new block type
POST
/
api
/
block_types
/
Headers
Body
application/json
Data used by the Prefect REST API to create a block type.
A block type's name
A block type's slug
Web URL for the block type's logo
Web URL for the block type's documentation
A short blurb about the corresponding block's intended use
A code snippet demonstrating use of the corresponding block
Response
201 - application/json
An ORM representation of a block type
A block type's name
A block type's slug
Web URL for the block type's logo
Web URL for the block type's documentation
A short blurb about the corresponding block's intended use
A code snippet demonstrating use of the corresponding block
Protected block types cannot be modified via API.
Was this page helpful?