skip to content
Alvin Lucillo

Mgmt api token lifetime

/ 1 min read

💻 Tech

With Go, we can update an Auth0 tenant’s management API’s access token lifetime via the ResourceServer api with go-auth0 package:

	err = auth0API.ResourceServer.Update(context.TODO(), id, server)
	
    if err != nil {
        log.Fatalf("failed to update server: %+v", err)
    }