Create collection type and set permission from front end via API

System Information
  • Strapi Version: 3.6.2
  • Operating System: ubuntu:18
  • Database: sqllite
  • Node Version: 14.15.0
  • NPM Version: 6.14.80
  • Yarn Version: NA

I am learning strapi and I want to create a collection type from the front end via API itself I have enabled the endpoint “/content-manager/collection-types/:model”, it would be helpful if I can get sample JSON that should be given as Input to the Endpoint. Is there any way to set/modify collection types CRUD permission’s via API itself.