How can I add extra info to an existing access token?
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 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 attributeFIELD
and its value represents the homonymous 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 (by clicking on the icon next to your user name and then on API Manager Browser):
Share your suggestions with us!
Click here and then [+ Submit idea]