fix tenant account unbind flow
Desktop Client Build / Resolve Build Metadata (push) Successful in 28s
Frontend CI / Frontend (push) Successful in 2m53s
Backend CI / Backend (push) Successful in 16m10s
Desktop Client Build / Build Desktop Client (push) Successful in 23m44s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 50s
Desktop Client Build / Resolve Build Metadata (push) Successful in 28s
Frontend CI / Frontend (push) Successful in 2m53s
Backend CI / Backend (push) Successful in 16m10s
Desktop Client Build / Build Desktop Client (push) Successful in 23m44s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 50s
This commit is contained in:
@@ -1292,6 +1292,13 @@ export const tenantAccountsApi = {
|
||||
list() {
|
||||
return apiClient.get<DesktopAccountInfo[]>('/api/tenant/accounts')
|
||||
},
|
||||
remove(id: string) {
|
||||
return apiClient.remove<{
|
||||
account: DesktopAccountInfo
|
||||
cancelled_queued_publish_task_count: number
|
||||
completed_server_side_unbinding: boolean
|
||||
}>(`/api/tenant/accounts/${encodeURIComponent(id)}`)
|
||||
},
|
||||
requestDelete(id: string, options?: { undo?: boolean }) {
|
||||
const query = options?.undo ? '?undo=true' : ''
|
||||
return apiClient.post<DesktopAccountInfo>(
|
||||
|
||||
Reference in New Issue
Block a user