OrganisationService

Functions

Link copied to clipboard
suspend fun create(name: String): Result<OrganisationResource, Exception>

Create a new organisation.

Link copied to clipboard
suspend fun getApps(organisationId: String): Result<List<AppResource>, Exception>

Get the list of apps for an organisation.

Link copied to clipboard
suspend fun list(): Result<List<OrganisationResource>, Exception>

Get the list of organisations.