https://github.com/thingsboard/thingsboard/pull/14982 Review the pull request to see APIs added. If accepted I can create pull request here