Void a pending cancellation on a bandwidth pool.
Description
This method will void a pending cancellation on a bandwidth pool. Note however any servers that belonged to the rack will have to be restored individually using the method voidPendingServerMove($id, $type).
Parameters
None
Required Headers
Optional Headers
Return Values
Error Handling
- Throw the exception “Permission denied.” if the user calling the API does not have the “BANDWIDTH_MANAGE” permission.
- Throw the exception “The current user does not have access to this allotment.” if the user calling the API is trying to edit another account’s virtual rack.
- Throw the exception “The account’s virtual private rack can not deleted.” when calling this method on a virtual private rack.
- Throw the exception “Your request has been cancelled because you are in your 12 hour billing window. Please check back later.” if your bandwidth pool is blocked for updates due to billing restrictions.
- Throw the exception “Unable to void pending cancellation. Please contact support” if the API is unable to void the bandwidth pool cancellation.
curl -g -u $SL_USER:$SL_APIKEY -X GET \
'https://api.softlayer.com/rest/v3.1/SoftLayer_Network_Bandwidth_Version1_Allotment/{SoftLayer_Network_Bandwidth_Version1_AllotmentID}/voidPendingVdrCancellation'