Skip to main content

Badge Update

This endpoint updates the visibility state of a specific badge for the authenticated user.

Method

POST /user/badge

Request Body

{
"leader_id": "string",
"badge_id": "string",
"show": "<boolean>"
}
  • leader_id: The unique identifier of the leader associated with the badge.
  • badge_id: The unique identifier of the badge to be updated.
  • show: A boolean indicating whether the badge should be visible (true) or hidden (false).

Response

{
"status": 200,
"data": {
"success": true
}
}