You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static void UnsubscribeFromMod(int modId, Action successCallback, Action<WebRequestError> errorCallback);
Parameters
Name
Description
modId
Mod to be unsubscribed from
successCallback
Action to execute if the request succeeds
errorCallback
Action to execute if the request returns an error
Description
Unsubscribes the authenticated user from a mod.
A successful request will return a confirmation APIMessage with the code 204 No Content. As users can unsubscribe from mods via the mod.io web interface it is recommended that any cached records are updated via ModIO.APIClient.GetUserEvents.