linkExternalAccount


SoftLayer_Account::linkExternalAccount

This method will link this SoftLayer account with the provided external account.

Description

This method will link this SoftLayer account with the provided external account.

Parameters

Name Type Description
externalAccountId string The ID of the external account to link to this SoftLayer account
authorizationToken string Access token for any authorization that needs to happen
externalServiceProviderKey string Key name of the service provider

Required Headers

Optional Headers

  • None

Return Values

  • void

Error Handling

  • Throws if a link between either of the accounts already exists.
  • Throws , ‘Unable to authenticate request.’ if authentication of the request fails.
  • Throws , ‘Unable to link external account to SoftLayer account.’, if the attempt to link the accounts fails.
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [string, string, string]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account/linkExternalAccount'