removeMediaFromList


SoftLayer_Account_Media::removeMediaFromList

Remove a media from a SoftLayer account’s list of media.

Description

Remove a media from a SoftLayer account’s list of media. The media record is not deleted.

Parameters

Name Type Description
mediaTemplate SoftLayer_Account_Media A template of the media to be hidden from the available media list.

Required Headers

Optional Headers

  • None

Return Values

  • int
curl -g -u $SL_USER:$SL_APIKEY -X POST -d '{"parameters": [SoftLayer_Account_Media]}' \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Account_Media/removeMediaFromList'