suspend fun createRelation(authorizationContext: GropiusAuthorizationContext, input: CreateRelationInput): Relation

Creates a new Relation based on the provided input Checks the authorization status

Return

the saved created Relation

Parameters

authorizationContext

used to check for the required permission

input

defines the Relation