1
0
forked from baron/baron-sso

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

This commit is contained in:
2026-02-06 16:16:21 +09:00
parent a443ab3e72
commit b0899d8db3
2 changed files with 36 additions and 5 deletions

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}`);
}