mirror of
https://github.com/wassname/ray.git
synced 2026-08-14 12:40:23 +08:00
[serve] Add delete_endpoint call (#8256)
This commit is contained in:
@@ -108,6 +108,13 @@ model that you'll be serving. To create one, we'll simply specify the name, rout
|
||||
|
||||
serve.create_endpoint("simple_endpoint", "/simple")
|
||||
|
||||
You can also delete an endpoint using `serve.delete_endpoint`.
|
||||
Note that this will not delete any associated backends, which can be reused for other endpoints.
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
serve.delete_endpoint("simple_endpoint")
|
||||
|
||||
.. _serve-backend:
|
||||
|
||||
Backends
|
||||
|
||||
Reference in New Issue
Block a user