Is there a way to block new types of entities in my index

I have defined

dynamic	"false"

in my default mapping.
This restricts new fields from being created.
Is there a way to restrict new document types (entity type) to be created?
Thanks.

The only way would be to define the type in the mapping and then use strict mapping to reject anything else.

But what if I have a default with a field (let's say ID) and dynamic="false"
Then the new non dynamic entity will be created with ID.
-> And then it will be loaded to the ES.

(I have tested it and this is how it behaves)