Ask Your Question

Revision history [back]

While authenticating you need to mention the tenant name. Hope this is what you are looking for

'{"auth": {"tenantName": "'admin'", "passwordCredentials": {"username": "'<username>'", "password": "'<password>'"}}}'

While authenticating you need to mention the tenant name. Hope this is what you are looking for

'{"auth": {"tenantName": "'admin'", "passwordCredentials": {"username": "'<username>'", "password": "'<password>'"}}}'

"'<password>'"}}}'

While authenticating you need to mention the tenant name. Hope this is what you are looking for

'{"auth": {"tenantName": "'admin'", "passwordCredentials": {"username": "'<username>'", "password": "'<password>'"}}}'

If you are using curl

$ curl -s -X POST http://<ipaddress>:5000/v2.0/tokens \
            -H "Content-Type: application/json" \
            -d '{"auth": {"tenantName": "<tenantname>", "passwordCredentials":
            {"username": "<username>", "password": "<password>"}}}' \
            | python -m json.tool