(keyId: number)
| 818 | * 删除指定的 API Key |
| 819 | */ |
| 820 | export async function deleteAPIKey(keyId: number): Promise<any> { |
| 821 | return fetchWithAuth<any>( |
| 822 | `${API_BASE_URL}/api/api-keys/${keyId}`, |
| 823 | { method: 'DELETE' } |
| 824 | ); |
| 825 | } |
| 826 | |
| 827 | /** |
| 828 | * 提交 OAuth 回调 |
no test coverage detected