getAuthenticationToken


SoftLayer_User_Customer::getAuthenticationToken

Generate a specific type of authentication token

Description

This method generate user authentication token and return SoftLayer_Container_User_Authentication_Token object which will be used to authenticate user to login to SoftLayer customer portal.

Parameters

Name Type Description
token SoftLayer_Container_User_Authentication_Token The token type requested.

Required Headers

Optional Headers

  • None

Return Values

curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Container_User_Authentication_Token]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_User_Customer/{SoftLayer_User_CustomerID}/getAuthenticationToken'