mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
fix: Rename revoke_api_key → delete_api_key
This commit is contained in:
parent
9d441517fd
commit
700d71d675
@ -107,7 +107,7 @@ async def list_api_keys(
|
||||
"/{api_key_id}",
|
||||
status_code=status.HTTP_204_NO_CONTENT,
|
||||
)
|
||||
async def revoke_api_key(
|
||||
async def delete_api_key(
|
||||
api_key_id: UUID,
|
||||
current_user: schemas.User = Depends(get_current_active_user),
|
||||
api_keys_repo: ApiKeysRepository = Depends(get_repository(ApiKeysRepository)),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user