Command-line

Autograph offers a command-line API to automate license activation/deactivation using scripts.

From Autograph --help:

 --login <LeftAngleLogin>              
                                        Set the Left Angle account login to be
                                        used for the session. This goes in pair
                                        with the --password option.
                                        This is mandatory to use the following
                                        commands:
                                           list_licenses
                                           activate_license
                                           check_license
                                        This also controls which Artisan drives
                                        are available if they are used in the
                                        project to render.

  --password <LeftAnglePassword>        
                                        Set the Left Angle account password to
                                        be used for the session. This goes in
                                        pair with the --login option.

  --list_licenses <ProductID>           
                                        *Requires --login and --password to be
                                        specified* and an internet connection.
                                        List all licenses for a given Left Angle
                                        account.
                                        <ProductID> is one of:
                                            AutographStudio
                                           AutographRender
                                        It prints 1 line for each license in the
                                        following form:
                                        <license key> <license status> <license
                                        label>
                                           - "expired" if license expired
                                           - "needs_renewal" if license cannot
                                        be used on this version of the software
                                           - "in_use" if license is already
                                        locked on a computer
                                           - "<expiration_date>" or "permanent"
                                        if available
  --activate_license <options>          
                                        *Requires --login and --password to be
                                        specified* and an internet connection.
                                        Activate a license on this computer.
                                           --activate_license <ProductID>
                                        <ProductKey>
                                        <ProductID> is one of:
                                           AutographStudio
                                           AutographRender
  --register_floating_server <options>  
                                        Register a floating server so that
                                        subsequent runs of Autograph can
                                        automatically
                                        obtain a lease from the floating server
                                        without having to specify the server
                                        settings again.
                                        The Floating server address should be
                                        the IP address or URL of the server.
                                        The server port should be the one that
                                        was passed to the config.xml file of the
                                        server.
                                        If the server is hosted on a remote
                                        server via HTTPS, you should set the
                                        port to 443.
                                        If the server is only accessible through
                                        a proxy server, you should enter the
                                        proxy server address such as
                                        http://user:password@127.0.0.1:8080
                                            --register_floating_server
                                        <ProductID> <ServerAddress> <ServerPort>
                                        [<ProxyServer>]
                                         <ProductID> is one of:
                                            AutographStudio
                                           AutographRender
  --deactivate_license <ProductID>      
                                        Deactivate an active license on this
                                        computer. <ProductID> is one of:
                                            AutographStudio
                                           AutographRender
  --check_license <ProductID>           
                                        *Requires --login and --password to be
                                        specified* and an internet connection.
                                        Check if this computer has a valid
                                        license. <ProductID> is one of:
                                           AutographStudio
                                           AutographRender
                                        It prints the expiration date if valid,
                                        or "Not licensed" otherwise.