Skip to main content
A newer release of this product is available.

Get an API token

Contributors dmp-netapp

You must have an API access token to use the Astra Control REST API.

Note The Astra API tokens never expire, however you can revoke a token when it is no longer needed.
Before you begin

You need credentials for an Astra account.

About this task

This task generates an API token at the Astra web interface. You should also retrieve the account ID which is also needed to make an API call.

Steps
  1. Sign in to Astra using your account credentials.

    Access the following site for Astra Control Service: https://astra.netapp.io

  2. Click the figure icon at the top right of the page and select API access.

  3. Click Generate API token on the page and in the popup window click Generate API token.

  4. Click the icon to copy the token string to the clipboard and save it in your editor.

  5. Copy and save the account id which is available on the same page.

After you finish

When you access the Astra Control REST API through Curl or a programming language, you must include the API bearer token in the Authorization request header. To revoke the token, see Security.