REST API token-based authentication
Token based authentication can be used to secure REST API on Cisco devices. Typically, tokens are valid for a particular period of time. After this time expires, they are considered invalid and require a refresh token. This is a new access token that replaces the old one. How often this is done depends on the configuration.