Resetting User Token via API
To reset an organization token or user token via API, use the POST /authentication/user-secret-reset
endpoint. Reseting these secrets takes effect immediately and the old ones no longer work.
Example:
curl -X POST \
https://api.openconnectors.us2.ext.hana.ondemand.com/elements/api-v2/authentication/user-secret-reset \
-H 'authorization: User <USER-SECRET>, Organization <ORGANIZATION-SECRET>' \
-H 'content-type: application/json'