Site icon Hip-Hop Website Design and Development

How one can take away buttons from gutenberg toolbar

How do i take away a number of the buttons in from a block toolbar within the gutenberg editor?
I assumed there was the same api to eradicating blocks for the paragraph block, one thing like however there may be 0 documentation on tips on how to take away these things:

wp.domReady( () => {
    // wp.knowledge.choose( 'core/rich-text' ).getFormatTypes()
    // ^ tried with 'core/picture' however throws an error
    wp.richText.unregisterFormatType( 'core/picture' );
    wp.richText.unregisterFormatType( 'core/strikethrough' );
    wp.richText.unregisterFormatType( 'core/keyboard' );
    wp.richText.unregisterFormatType( 'core/text-color' );
    wp.richText.unregisterFormatType( 'core/code' );
});