Server Terminal access for API authorization?

Can you please further explain what you mean with server terminal access? The authentication with Dynatrace API is done with an Api-Token that you can create within the Dynatrace Web UI (you need environment admin role).