Skip to main content

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

createOrganisation(uuid: string | undefined): Promise<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.