Cookie

Use cookies file to run Collibra DQ CURL commands.

Copy
curl -i -X POST -d username=<username> -d password=<password> http://localhost:9000/login -c cookies.txt

curl -i --header "Accept:application/json" -X GET -b cookies.txt "http://localhost:9000/v2/getsecuritymap"

Multi-Tenant without subdomain in URL (tenant parameter required):

Copy
curl -i -X POST -d username=<username> -d password=<password> -d tenant=<tenant> -d tenant=public http://localhost:9000/login -c cookies.txt 
 
curl -i --header "Accept:application/json" -X GET -b cookies.txt "http://localhost:9000/v2/getsecuritymap"