removeIpRange()

void removeIpRange(string usn, string ipRangeId)

This method removes an IP range reservation from a subscription.

Parameters

usn
Format: string
Purpose: Specifies the USN of the subscription from which to delete the IP range reservation.
ipRangeId
Format: string
Purpose: Specifies the UUID of the IP range reservation to delete.
Note: The ipRangeId for a given IP range reservation is normally returned by the addIpRange() method. It can also be obtained via the getIpRanges() method.

Results

This method does not return any output for a successful removal.

Smile emits the SubscriptionIpRangesUpdated message after the subscription is updated.

Faults

IllegalArgumentException

This fault is returned when the ipRangeId parameter is malformed.

NoSuchItemException
This fault is returned when:
  • the subscription given does not exist
  • the IP range reservation does not exist
  • the IP range reservation does not belong to the subscription given

Java client syntax

java -cp build/smilewsv2-client.jar [options]
 com.inomial.smile.client.v2.examples.RemoveIpRange usn ipRangeId
usn
Purpose: Specifies the USN of the subscription from which to delete the IP range reservation.
ipRangeId
Purpose: Specifies the UUID of the IP range reservation to delete.
Note: For more information about the Java client and the options it accepts, see Java client syntax.