Activation API?

Is there a more complete API available for programatically activating a deployment? I know
fwconsole sa activate [email protected]
works for this, but then you have to go back into the portal identify the correct deployment id and rename the deployment to something more sensible. Is there a way to specify the deployment name along with the email address that I’m missing?

Or is there an api that can be used outside of fwconsole?