/user/deleteGroup
To delete a specific group of the user. Has 2 main requirements:
userId
groupId
npcId
const { data, error } = await backend.post('/user/deleteGroup', {
userId: '<USER ID>',
groupId: '<GROUP ID>',
npcId: '<NPC ID>'
}).then(res => res?.data).catch(e => { });
This will remove the user from a certain group they are a part of. If successful, returns a basic object with success
equal to true.
Last updated