From 8bd068241884ca74533c658b71f631a834ea7c27 Mon Sep 17 00:00:00 2001 From: dkttarento <138442957+dkttarento@users.noreply.github.com> Date: Tue, 29 Aug 2023 18:20:49 +0530 Subject: [PATCH] Dev #96263 Provide API to remove the user from blended program->whitelistApis.ts Dev #96263 Provide API to remove the user from blended program --- src/utils/whitelistApis.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/utils/whitelistApis.ts b/src/utils/whitelistApis.ts index 6d23111d..ad715e60 100644 --- a/src/utils/whitelistApis.ts +++ b/src/utils/whitelistApis.ts @@ -2277,6 +2277,14 @@ export const API_LIST = { ROLE.PROGRAM_COORDINATOR, ], }, + '/proxies/v8/workflow/blendedprogram/remove': { + checksNeeded: [CHECK.ROLE], + // tslint:disable-next-line: object-literal-sort-keys + ROLE_CHECK: [ + ROLE.MDO_ADMIN, + ROLE.MDO_LEADER, + ], + }, }, URL_PATTERN: @@ -2571,5 +2579,6 @@ export const API_LIST = { '/proxies/v8/workflow/blendedprogram/admin/enrol', '/proxies/v8/batchsesion/qrcode/:courseid/:batchid', '/proxies/v8/blendedprogram/v1/update/progress', + '/proxies/v8/workflow/blendedprogram/remove', ], }