diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index d161c7efca..d4895f2d00 100644 --- a/api-ref/source/servers-actions.inc +++ b/api-ref/source/servers-actions.inc @@ -69,7 +69,7 @@ Request **Example Add (Associate) Floating Ip (addFloatingIp Action)** .. literalinclude:: ../../doc/api_samples/servers/server-action-addfloatingip.json - :language: javascript + :language: javascript Response -------- @@ -457,11 +457,10 @@ Request - removeFloatingIp: removeFloatingIp - address: address -.. TODO(sdague) build example for this - **Example Remove (Disassociate) Floating Ip (removeFloatingIp Action)** +**Example Remove (Disassociate) Floating Ip (removeFloatingIp Action)** - .. literalinclude:: ../../doc/api_samples/servers-action/removeFloatingIp-req.json - :language: javascript +.. literalinclude:: ../../doc/api_samples/servers/server-action-removefloatingip.json + :language: javascript Response -------- diff --git a/doc/api_samples/servers/server-action-removefloatingip.json b/doc/api_samples/servers/server-action-removefloatingip.json new file mode 100644 index 0000000000..b1f9698fee --- /dev/null +++ b/doc/api_samples/servers/server-action-removefloatingip.json @@ -0,0 +1,5 @@ +{ + "removeFloatingIp": { + "address": "172.16.10.7" + } +}