The resources responsible for installing and managing tenants
Create tenant's root organization
/**
* @param {object} params
* @param {function} callback optional
*/
netField.tenants.create(params, [callback])
Update tenant by the tenant's Id
/**
* @param {number} tenantId
* @param {object} params
* @param {function} callback optional
*/
netField.tenants.update(tenantId, params, [callback])
Get a tenant by tenant Id
/**
* @param {number} tenantId
* @param {function} callback optional
*/
netField.tenants.get(tenantId, [callback])
Get All tenat organizations
/**
* @param {any} options optional
* @param {function} callback optional
*/
netField.tenants.getAll([options], [callback])
Delete tenant by root tenant Id
/**
* @param {number} tenantId
* @param {function} callback optional
*/
netField.tenants.delete(tenantId, [callback])