in your case, in community,
the platform and the default tenant are created automatically.
But will you may need to activate/deactivate the tenant for maintenance purpose for example.
You can see the full PlatformAPI here: http://documentation.bonitasoft.com/javadoc/api/6.4/index.html
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.