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
                                       sync_artisan_drive
                                    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:
                                        Autograph
                                       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:
                                        Autograph
                                       AutographRender
  --deactivate_license <ProductID>  
                                    Deactivate an active license on this
                                    computer. <ProductID> is one of:
                                        Autograph
                                       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:
                                        Autograph
                                       AutographRender
                                    It prints the expiration date if valid, or
                                    "Not licensed" otherwise.