feat: write DELETE /v1/connections/:connectionId

This commit is contained in:
Ali BARIN
2024-08-28 13:16:16 +00:00
parent 456f8a30cc
commit c413ae06dc
4 changed files with 100 additions and 0 deletions

View File

@@ -71,6 +71,10 @@ const authorizationList = {
action: 'update',
subject: 'Flow',
},
'DELETE /api/v1/connections/:connectionId': {
action: 'delete',
subject: 'Connection',
},
};
export const authorizeUser = async (request, response, next) => {