feat: create unregister shield API endpoint in Llama Stack

This commit is contained in:
r3v5 2025-07-22 12:28:18 +01:00
parent 140ee7d337
commit 22e73494b0
No known key found for this signature in database
GPG key ID: 7758B9F272DE67D9
13 changed files with 132 additions and 1 deletions

View file

@ -83,3 +83,11 @@ class Shields(Protocol):
:returns: A Shield.
"""
...
@webmethod(route="/shields/{identifier:path}", method="DELETE")
async def unregister_shield(self, identifier: str) -> None:
"""Unregister a shield.
:param identifier: The identifier of the shield to unregister.
"""
...