cURL
curl --request PATCH \ --url https://api.example.com/api/block_types/{id} \ --header 'Content-Type: application/json' \ --data ' { "logo_url": "<string>", "documentation_url": "<string>", "description": "<string>", "code_example": "<string>" } '
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Update a block type.
The block type ID
Data used by the Prefect REST API to update a block type.
Successful Response
Was this page helpful?