https://prefect.io logo
#prefect-getting-started
Delete a custom Prefect Block
n

Nils

12/08/2022, 2:27 PM
I was playing around with custom blocks. Registered a couple of with the Python command
register_type_and_schema()
. However, now I want to delete those blocks but I can not find a way to do so..
1
r

Ryan Peden

12/08/2022, 2:30 PM
The
prefect block type delete
command should do it.
delete_block_type
in the Prefect API client is another way: https://docs.prefect.io/api-ref/prefect/client/#prefect.client.orion.OrionClient.delete_block_type
👍 2
3 Views