Delete a custom Prefect Block
# prefect-getting-started
n
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
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