diff --git a/api-ref/source/servers-actions.inc b/api-ref/source/servers-actions.inc index ce22f10eefd3..aa6e7eea8834 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 -------- @@ -455,11 +455,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 000000000000..b1f9698feee5 --- /dev/null +++ b/doc/api_samples/servers/server-action-removefloatingip.json @@ -0,0 +1,5 @@ +{ + "removeFloatingIp": { + "address": "172.16.10.7" + } +}