클라이언트 상세 페이지 비밀키 재발급 기능 연동

This commit is contained in:
kyy committed 2026-02-06 16:28:00 +09:00
1 parent a443ab3e72
commit b0899d8db3
2 files changed
+36 -5

No files matched your search

+7
View File
@@ -136,6 +136,13 @@ export async function updateClient(
return data;
}
export async function rotateClientSecret(clientId: string) {
const { data } = await apiClient.post<ClientDetailResponse>(
`/dev/clients/${clientId}/secret/rotate`
);
return data;
}
export async function deleteClient(clientId: string) {
await apiClient.delete(`/dev/clients/${clientId}`);
}