Add a REST API user to enable that user to access the API if authentication is enabled.
Enable REST API authentication by setting the
require-api-authentication
property of the Metrics HTTP Servlet Extension Configuration object as
follows:$ bin/dsconfig set-http-servlet-extension-prop \
--extension-name "PingDataMetrics Server REST API Servlet" \
--set require-api-authentication:true
Perform
the following steps to add a REST API user: