When you sign up for Stormpath, a private data space is created for you. This space is represented as a Tenant resource in the Stormpath REST API.
If you've forgotten your tenant name, you can always retrieve it!
- Navigate to https://api.stormpath.com/login or https://enterprise.stormpath.io
- Click on 'Forgot tenant name'
- Enter the email address you used to sign up for your account
- You'll receive an email at that address with your tenant name
If you've followed these steps and haven't received an email, please check your Spam folder before reaching out to us at email@example.com.
To retrieve your Tenant ID, you can make a GET request with your tenant API key to https://api.stormpath.com/v1/tenants/current
Here’s a sample cURL request:
curl --request GET \
--user $SP_API_KEY_ID:$SP_API_KEY_SECRET \
--header 'content-type: application/json' \
This will issue a 302 redirect with your tenant's HREF in the "Location" field.