mirror of
https://github.com/remnawave/python-sdk.git
synced 2026-10-21 12:10:47 +00:00
Add delete all devices
This commit is contained in:
parent
2ff3317cc4
commit
ac027cd515
1 changed files with 11 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ class HWIDUserController(BaseController):
|
|||
) -> CreateUserHwidDeviceResponseDto:
|
||||
"""Create a user HWID device"""
|
||||
...
|
||||
|
||||
|
||||
@post("/hwid/devices/delete", response_class=DeleteUserHwidDeviceResponseDto)
|
||||
async def delete_hwid_to_user(
|
||||
self,
|
||||
|
|
@ -28,11 +28,19 @@ class HWIDUserController(BaseController):
|
|||
) -> DeleteUserHwidDeviceResponseDto:
|
||||
"""Delete a user HWID device"""
|
||||
...
|
||||
|
||||
|
||||
@post("/hwid/devices/delete-all", response_class=CreateUserHwidDeviceResponseDto)
|
||||
async def delete_all_hwid_user(
|
||||
self,
|
||||
uuid: Annotated[str, Path(description="UUID of the User")],
|
||||
) -> CreateUserHwidDeviceResponseDto:
|
||||
"""Delete all user HWID devices"""
|
||||
...
|
||||
|
||||
@get("/hwid/devices/{uuid}", response_class=GetUserHwidDevicesResponseDto)
|
||||
async def get_hwid_user(
|
||||
self,
|
||||
uuid: Annotated[str, Path(description="UUID of the User")],
|
||||
) -> GetUserHwidDevicesResponseDto:
|
||||
"""Get a user HWID device"""
|
||||
...
|
||||
...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue