Skip to main content

getDatabaseUsage

CODE
#!/bin/bash

#
# This script is an "out of the box" script that goes through
# Login and GET /database-usage with the authentication
# token from Login
#

source apiHostInfo
eval $(cat loginCredentials)
source helpers

login

echo "* GET /database-usage from $EXPORT_ENGINE"
EXPORT_RESPONSE=$(curl $SSL_CERT -X GET -H ''"$AUTH_HEADER"'' -H 'Accept: application/json' $MASKING_ENGINE/database-usage) || die "curl failed with exit code $?"
echo $EXPORT_RESPONSE
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.