User
SoftLayer_User_Customer::addApiAuthenticationKey

Overview

Create a user's API authentication key, allowing that user access to query the SoftLayer API. addApiAuthenticationKey() returns the users new API key. Each portal user is allowed a maximum of two API keys.

Headers

n/a
authenticate, SoftLayer_User_CustomerInitParameters

Return Values

string

Associated Methods

SoftLayer_User_Customer::removeApiAuthenticationKey

Error Handling

  • SoftLayer_Exception_Public: Throw the exception "Each user can only have a single API key." if the given user already has an API key defined.