Skip to main content

URL
https://test-api.bvndle.com/api/v1/laas/badges/:id
Base URL
https://test-api.bvndle.com/api/v1/laas
HTTP Method
PUT
Authorization Header
Bearer ACCESS_TOKEN

Request Body:
nametypeDescription
namestringRequired
Name of the badge
descriptionstringRequired
The description of the badge
badgeIconfile or stringOptional
The Icon of the badge

cURL
curl --request PUT
'https://test-api.bvndle.com/api/v1/laas/badges/34d48345-18ab-4ba0-b9b7-07a7bf767666' \
--form 'name="dark ninja warrior"' \
--form 'description="Testing!!!"'

{
  "status": "success",
  "message": "badge updated",
  "data": {
    "id": "34d48345-18ab-4ba0-b9b7-07a7bf767666",
    "name": "shadow ninja",
    "partner": {},
    "icon": null
  }
}