mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 18:15:53 +00:00
Add endpoint to update MI project-level roles
This commit is contained in:
@@ -101,6 +101,14 @@ router.post(
|
||||
workspaceController.addMachineToWorkspace
|
||||
);
|
||||
|
||||
router.patch(
|
||||
"/:workspaceId/machine-memberships/:machineId",
|
||||
requireAuth({
|
||||
acceptedAuthModes: [AuthMode.JWT, AuthMode.API_KEY]
|
||||
}),
|
||||
workspaceController.updateMachineWorkspaceRole
|
||||
);
|
||||
|
||||
router.delete(
|
||||
"/:workspaceId/machine-memberships/:machineId",
|
||||
requireAuth({
|
||||
|
||||
Reference in New Issue
Block a user