Organization
Creates an organization. The organization is a static entity to which all other entities belong. All keys, DIDs, credentials, and so forth, belong to one organization. When the system is being used as a wallet, the organization is effectively a user account.
Function
- React Native
- iOS
- Android
createOrganisation(uuid: string | undefined): Promise<string>
func createOrganisation(uuid: String?) throws -> String
fun `createOrganisation`(`uuid`: String?): String
Parameters
uuid
- Specify a UUID to be used as the organization identifier. If no value is provided a random identifier will be generated.
Return value
The organisationId
is returned. This value is used in most subsequent functions.