To get the corresponding APS ID, run the following command :
curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://127.0.0.1:6308/aps/2/resources/?and(limit(0,1),implementing(http://www.parallels.com/marketplace/mpsettings/2.2),eq(owner.id,1))'
The request will return the response with the APS ID which is needed for running the next command. For example, the request shown below includes the APS ID = bf20cb97-172c-444d-9a17-f05b40784895.
[{"paused":false,"homeTileDescription":{"en_US":"Sell a broad range of cloud services within minutes."},"reindex":false,"aps":{"modified":"2018-10-17T15:25:05Z","id":"bf20cb97-172c-444d-9a17-f05b40784895","type":"http://www.parallels.com/marketplace/mpsettings/2.2","status":"aps:ready","revision":18},"menuIcon":"img/marketplace-icon.png","menuName":{"en_US":"Marketplace"},"showIntroductionTours":true,"chatEnabled":false,"homeTileButtonColor":"#FFFFFF","enabled":true,"homeTileBackgroundImage":"","external":false,"homeTileBackgroundColor":"#4D90FD","allowConfigure":true,"homeTileButtonLabel":{"en_US":"Browse"},"maintenanceMessage":{"en_US":"Sorry, we're down for scheduled maintenance right now."},"chatUrl":"","reindexed":false}]