This describes the MEFE API to remove a user from a role in a Unee-T unit.
This API is also needed to reset the user permission for a given user in a given unit
https://github.com/unee-t/frontend/pull/742 for more details.
SET @remove_user_from_unit_request_id = `removeUserFromUnitRequestId` ;
SET @updated_datetime = `timestamp` ; [(the SQL formatted timestamp of the reply from the MEFE API)]
CALL `ut_update_success_remove_user_from_unit`;
@kaihendry Let me know when all is ready on your side (Golang) so I can test end to end.
This describes the MEFE API to remove a user from a role in a Unee-T unit. This API is also needed to reset the user permission for a given user in a given unit https://github.com/unee-t/frontend/pull/742 for more details.
The Payload needed by the MEFE API:
Example response:
The Payload generated by the SQL via Lambda:
The SQL to run after the API returns a success:
@kaihendry Let me know when all is ready on your side (Golang) so I can test end to end.