cURL
curl --request GET \ --url http://{host}:{port}/{contextPath}/deployment/registered \ --header 'Authorization: Basic <encoded-value>'
[ "deploymentId1", "deploymentId2", "deploymentId3" ]
Queries the registered deployment IDs for the current application.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request successful.