Manage ambri service via using api

Hi Team,

I need to start/stop ambri service via api in ansibile playbook, please share some examples if anybody have any idea