How to generate a Management API token?

Any information would be helpful.

The Management API token is now generated by using our Auth0 Management API - you can find this here - https://manage.auth0.com/#/apis

Full instructions also here - https://auth0.com/docs/api/management/v2/tokens

As the instructions indicate, you can either do a one-off manual generation (24 hour expiration) or else automate this, including the refreshing of the Management API Token.

Assuming you wish to automate the process, you first need to create and configure a Non-Interactive Client - Management API Access Tokens. Then follow these steps here - Management API Access Tokens

A key point is that you cannot renew a Management APIv2 token. A new token should be created when the old one expires. One way to achieve this automatically is to either track the expiration and generate when required, or else respond to a failure when using the token against an endpoint to determine when a new token is required.

Also, please see our FAQ on this if you have any doubts - Management API Access Tokens