Where can I find my Tenant ID and Tenant Name?

Tenant Name

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!

  1. Navigate to https://api.stormpath.com/login or https://enterprise.stormpath.io 
  2. Click on 'Forgot tenant name'
  3. Enter the email address you used to sign up for your account 
  4. 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 support@stormpath.com

Tenant ID

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 \

  --verbose \

  --user $SP_API_KEY_ID:$SP_API_KEY_SECRET \

  --header 'content-type: application/json' \

  --url "https://api.stormpath.com/v1/tenants/current"

This will issue a 302 redirect with your tenant's HREF in the "Location" field.

You can read more about this in our documentation.

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.