<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:627662246;
        mso-list-type:hybrid;
        mso-list-template-ids:-1959626576 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1029" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">I have a workflow that reassigns IP blocks of one of our blocks to a customer. I do so by using the REST  API to
<a href="https://www.arin.net/resources/restfulmethods.html#netcreaterecipientcustomer">
create a recipient customer</a> and then <a href="https://www.arin.net/resources/restfulmethods.html#netreassign">
reassign</a> it to that customer.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I can get the correct information by passing in the handle as such: "https://www.ote.arin.net/rest/net/NET-54-239-0-10-1?apikey=...” returns<o:p></o:p></p>
<p class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f">
<v:stroke joinstyle="miter" />
<v:formulas>
<v:f eqn="if lineDrawn pixelLineWidth 0" />
<v:f eqn="sum @0 1 0" />
<v:f eqn="sum 0 0 @1" />
<v:f eqn="prod @2 1 2" />
<v:f eqn="prod @3 21600 pixelWidth" />
<v:f eqn="prod @3 21600 pixelHeight" />
<v:f eqn="sum @0 0 1" />
<v:f eqn="prod @6 1 2" />
<v:f eqn="prod @7 21600 pixelWidth" />
<v:f eqn="sum @8 21600 0" />
<v:f eqn="prod @7 21600 pixelHeight" />
<v:f eqn="sum @10 21600 0" />
</v:formulas>
<v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" />
<o:lock v:ext="edit" aspectratio="t" />
</v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" style='width:736.5pt;height:303.75pt' o:ole="">
<v:imagedata src="cid:image004.wmz@01D1FD4B.F18477A0" o:title="" />
</v:shape><![endif]--><![if !vml]><img border="0" width="982" height="405" style="width:10.2291in;height:4.2187in" src="cid:image003.png@01D1FD48.73256C00" v:shapes="_x0000_i1025"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Word.OpenDocumentText.12" ShapeID="_x0000_i1025" DrawAspect="Content" ObjectID="_1533468236">
</o:OLEObject>
</xml><![endif]--><o:p></o:p></p>
<p class="MsoNormal">I would like to have an equivalent workflow that deallocates it from that customer. I tried using Whois to get the net in several ways:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><a href="http://whois.ote.arin.net/rest/cidr/54.239.0.10/31/more">http://whois.ote.arin.net/rest/cidr/54.239.0.10/31/more</a> returns<br>
<!--[if gte vml 1]><v:shape id="_x0000_i1026" type="#_x0000_t75" style='width:862.5pt;height:135.75pt' o:ole="">
<v:imagedata src="cid:image006.wmz@01D1FD4B.F18477A0" o:title="" />
</v:shape><![endif]--><![if !vml]><img border="0" width="1150" height="181" style="width:11.9791in;height:1.8854in" src="cid:image005.png@01D1FD48.73256C00" v:shapes="_x0000_i1026"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Word.OpenDocumentText.12" ShapeID="_x0000_i1026" DrawAspect="Content" ObjectID="_1533468237">
</o:OLEObject>
</xml><![endif]--><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><a href="http://whois.ote.arin.net/rest/cidr/54.239.0.10/31/less">http://whois.ote.arin.net/rest/cidr/54.239.0.10/31/less</a> returns<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><!--[if gte vml 1]><v:shape id="_x0000_i1027" type="#_x0000_t75" style='width:859.5pt;height:203.25pt' o:ole="">
<v:imagedata src="cid:image008.wmz@01D1FD4B.F18477A0" o:title="" />
</v:shape><![endif]--><![if !vml]><img border="0" width="1146" height="271" style="width:11.9375in;height:2.8229in" src="cid:image007.png@01D1FD48.73256C00" v:shapes="_x0000_i1027"><![endif]><!--[if gte mso 9]><xml>
<o:OLEObject Type="Embed" ProgID="Word.OpenDocumentText.12" ShapeID="_x0000_i1027" DrawAspect="Content" ObjectID="_1533468238">
</o:OLEObject>
</xml><![endif]--><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-.25in;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><a href="http://whois.ote.arin.net/rest/ip/54.239.0.10/pft">http://whois.ote.arin.net/rest/ip/54.239.0.10/pft</a> returns a more verbose version of the response above with all of the details about the parent handle NET-54-224-0-0-1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All of this is on the testing environments. Any help is appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Brad<o:p></o:p></p>
</div>
</body>
</html>