api-ref: Add delete port bindings

Change-Id: I61ed4cdd15f8fe77023c4bc4c5f26eae6f1caab4
This commit is contained in:
elajkat
2024-07-02 15:25:03 +02:00
committed by Lajos Katona
parent cbf17ddb0e
commit 3bad954a17

View File

@@ -131,3 +131,26 @@ Response Example (admin user)
.. literalinclude:: samples/port_bindings/port-binding-activate-response.json
:language: javascript
Delete Port Binding
===================
.. rest_method:: DELETE /v2.0/ports/{port_id}/bindings/{host}
Normal response codes: 204
Error response codes: 401, 403, 404, 412
Request
-------
.. rest_parameters:: parameters.yaml
- port_id: port_id-path
- host: host
Response
--------
There is no body content for the response of a successful DELETE request.