Classic APIs
ClassicBadgesApi
removeBadgeFromUser

removeBadgeFromUser

Removes a specific badge from a specific user.

Parameters

NameTypeDescription
badgeIdIdentifierThe ID of the badge to remove from the user.
userIdIdentifierThe ID of the user to remove the badge from.

Example

const { data: success } = await ClassicBadgesApi.removeBadgeFromUser({ badgeId: 2124533401, userId: 45348281 }); 

Endpoint

DELETE /v1/user/{userId}/badges/{badgeId}