changeOwnerToTenant method

Future<void> changeOwnerToTenant(
  1. String ownerId,
  2. EntityId entityId, {
  3. RequestConfig? requestConfig,
})

Implementation

Future<void> changeOwnerToTenant(String ownerId, EntityId entityId,
    {RequestConfig? requestConfig}) async {
  await _tbClient.post(
      '/api/owner/TENANT/$ownerId/${entityId.entityType.toShortString()}/${entityId.id}',
      options: defaultHttpOptionsFromConfig(requestConfig));
}