Create a user’s API authentication key.
Create a user’s API authentication key, allowing that user access to query the SoftLayer API. addApiAuthenticationKey() returns the user’s new API key. Each portal user is allowed only one API key.
- Throws the exception “Generating an API key for a user in PENDING status is disallowed.” if the given user is in PENDING status.
- Throws the exception “Each user can only have a single API key.” if the given user already has an API key defined.
curl -g -u $SL_USER:$SL_APIKEY -X GET \