1. Home
  2. ...
  3. FAQs
  4. How can I add extra info to an existing access token?

How can I add extra info to an existing access token?

Adding extra fields through the Manager interface or by calling the API Manager.

You can add extra information to an access token already created in two ways:

  • through the Manager's interface; or
  • by calling the API Manager provided by Sensedia and hosted on your Manager.

Through the Manager's interface, you must find the desired access token in the list of the Access Tokens page. If it's active (not expired), you can click on the Icon icon to edit it. Extra information can be added into the Extra Fields section by entering a pair comprised of name (in Field) and value (in Value). After adding the information, click on ADD EXTRA FIELD. You can include more pairs if you wish.

To make the inclusion by calling the API Manager, you need to make a PUT request to the endpoint <manager_url>/api-manager/api/v3/access-tokens/{code}.

Among other information, the request contains:

  • the property extraInfo, which expects a JSON object;
  • the extraInfo property name represents the value of the FIELD attribute and its value represents the VALUE attribute.

After the inclusion, the information will be displayed in the Extra Fields section of the token's registration on the Manager.

For more information, you can consult the API Manager's Swagger through the Manager interface:

Click on the Icon icon next to your user name;

Click on API Manager Browser.

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more