forked from baron/baron-sso
클라이언트 상세 페이지 비밀키 재발급 기능 연동
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user