Force check in API

Is there a API for admin user to force checkin a item that is checked out by a different user?
If we need to use the transitionItems API for it, how should we find the transition id for for force check in, as it is not listed in the workflow?


Never mind…found the API it is checkinItems() but still not sure if it can force check in the items that are checked out by other users.

Users in the Admin role can Force check-in. Also, if any workflows have ‘owners’ other than Admin, that role can force check-in too.

I think you can configure the API to allow other roles to do this too but you should check the documentation as I’m not 100% sure about this.