Skip to content

Manage API Tokens

API tokens are essential for users to interact with the Aindo platform programmatically. Each user has an associated list of tokens that they can manage. These tokens are required to use the API for synthesizing datasets. To access your token list, navigate to the API Tokens page.

token_list.png

Create new API token

To create a new API token:

  1. Navigate to the API Tokens page.
  2. Click on the ‘Create Token’ button.
  3. (Optional) Enter a name and description for the token to help you identify its purpose later.
  4. (Optional) Set an expiration date.
  5. Click ‘Create’.

dialog_create.png 1-dialog_token.png

The new token will be displayed. Ensure to copy and store it securely, as it will only be shown once.

Edit API token

To edit an existing API token:

  1. Navigate to the API Tokens page.
  2. Find the token you wish to edit and click the ‘Action Menu’ button next to it.
  3. Click on the ‘Edit’ button.
  4. Modify the token’s name and description, as needed.
  5. Click ‘Update’ to apply your changes.

2-token_list.png 2-dialog_edit.png

Suspend an API token

  1. Navigate to the API Tokens page.
  2. Find the token you wish to suspend and click the ‘Action Menu’ button next to it.
  3. Click on the ‘Suspend’ button.
  4. Confirm the suspension when prompted. The token will be immediately disabled and can no longer be used until reactivated.

3-token_list.png 3-token_suspended.png

Delete an API token:

To delete an API token:

  1. Navigate to the API Tokens page.
  2. Find the token you wish to delete and click the ‘Action Menu’ button next to it.
  3. Click on the ‘Delete’ button.
  4. Confirm the deletion when prompted. The token will be permanently removed and can no longer be used.

4-token_list.png 4-dialog_delete.png

Security Considerations

  • Keep tokens secure: Treat API tokens like passwords. Do not expose them in your code or share them publicly.
  • Remove unused tokens: Suspend or delete any tokens that are no longer needed.
  • Set expiration dates: Use expiration dates to automatically limit the lifespan of tokens, reducing the risk of misuse.

By following these best practices, you can ensure the secure and efficient use of API tokens on the Aindo platform.