Afraid I'm not familiar with the sort of scripting required for using TLS v1.2. However, I'm sure some of our more script savvy members may be able to offer more insight if there was a little more detail on how you have your API setup so far?
Best of luck to you. Let us know if you manage to work it out in the end.
CG - GoDaddy | Community Moderator 24/7 support available at x.co/247support