mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
fix: Rename revoke_api_key → delete_api_key
This commit is contained in:
1 file changed
+1
-1
@@ -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)),
|
||||
|
||||
Reference in new issue
Block a user