import plivoclient = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")# Unlink a short code from Powerpackpowerpack = client.powerpacks.get(uuid='<powerpack_uuid>')# Version 1response = powerpack.remove_shortcode('<shortcode>')# Version 2response = powerpack.numberpool.shortcodes.remove('<shortcode>')print(response)
This API call removes the short code from the number pool resource identified by the shortcode and number_pool_uuid specified in the request URL.
Copy
Ask AI
import plivoclient = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")# Unlink a short code from Powerpackpowerpack = client.powerpacks.get(uuid='<powerpack_uuid>')# Version 1response = powerpack.remove_shortcode('<shortcode>')# Version 2response = powerpack.numberpool.shortcodes.remove('<shortcode>')print(response)
import plivoclient = plivo.RestClient(auth_id="<auth_id>", auth_token="<auth_token>")# Unlink a short code from Powerpackpowerpack = client.powerpacks.get(uuid='<powerpack_uuid>')# Version 1response = powerpack.remove_shortcode('<shortcode>')# Version 2response = powerpack.numberpool.shortcodes.remove('<shortcode>')print(response)