Using the Management API in Actions