Block documents
Create Block Document
Create a new block document.
POST
Headers
Body
application/json
Data used by the Prefect REST API to create a block document.
A block schema ID
A block type ID
The block document's data
Whether the block is anonymous (anonymous blocks are usually created by Prefect automatically)
The block document's name. Not required for anonymous block documents.
Response
201 - application/json
An ORM representation of a block document.
A block schema ID
A block type ID
Record of the block document's references
The associated block schema
The associated block type
The associated block type's name
The block document's data
Whether the block is anonymous (anonymous blocks are usually created by Prefect automatically)
The block document's name. Not required for anonymous block documents.