Parameters
Results
Example results
Remarks
- The access token has to have the Key Lock set to -1 or smaller for this method to work.
- This method does not require any explicit permission. If the Key Lock set to -1 or smaller this method will be enabled.
- The new access token will have the same permission on the methods. Only the Key Lock will be changed from being -1 to the KeyId of the given key (in the input parameters).
- The access token cannot be retrieved after generation. Please make sure to store it inside the app to avoid generating a new access token.
- The value of the KeyLock specifies the expiration date of the new access token, i.e. -1 will set the expiration to 1 day from the time the access token was generated. Similarly, setting it to -2 will set the expiration date 2 days from the time of the request.