Strapi cli exports api tokens and admin users

It does say in the docs:


  • Admin users and API tokens are not exported.

Its not true. It does export all of that. How can i prevent it being exported?

I can actually see in the code base export command these lines:

      entities: [
          filter(entity) {
            return !DEFAULT_IGNORED_CONTENT_TYPES.includes(entity.type);

And the ignored types are:


my export command is:

strapi export --no-encrypt --only content

All the supposed entities in the ignore array are still exported!

turns out that strapi version 4.10.6 did export admin entities and 4.11 does not - if anybody cares

It is better for security reasons. Nice to know they fixed it.