Getting the ID of an Identity Server Cluster:
Request: curl -k -X GET $rest_url -u cn=$ADMIN_USERNAME,o=novell:$ADMIN_PASSWORD)
Where rest_url="https://$ADMIN_CONSOLE_IP:8443/amsvc/v1/idpclusters"
Getting the ID of an Access Gateway:
Request: curl -k -X GET $rest_url -u cn=$ADMIN_USERNAME,o=novell:$ADMIN_PASSWORD)
Where rest_url="https://$ADMIN_CONSOLE_IP:8443/amsvc/v1/agclusters"
Request: curl -k -X GET $rest_url -u cn=$ADMIN_NAME,o=novell:$ADMIN_PASS
Where rest_url="https://$AC_IP:8443/roma/rest/$IDP_CLUSTER_ID/sessions/devices/$IDP_DEVICE_ID"