Skip to main content

URL
https://test-api.bvndle.com/api/v1/laas/streaks/: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 streak

cURL
curl --request PUT
'https://test-api.bvndle.com/api/v1/laas/streaks/1c865ca9-2df1-4d36-8f5b-fb5f33dc7f7' \
--header 'Content-Type: application/json' \

{
    "name": "one_time_login"
}

{
  "status": "success",
  "message": "streak updated",
  "data": {
    "id": "1c865ca9-2df1-4d36-8f5b-fb5f33dc7f70",
    "name": "one_time_login",
    "partner": {},
    "rewards": [
      {
        "id": "f1de5758-9423-4570-9a16-eec564dfa230",
        "reward": 2000,
        "type": "airtime",
        "streak": {},
        "createdAt": "2025-09-15T21:09:52.873Z",
        "updatedAt": "2025-09-15T21:09:52.873Z"
      },
      {
        "id": "0071942a-c5d1-4cb3-b9bd-dafbb9b52456",
        "reward": 1000,
        "type": "airtime",
        "streak": {},
        "createdAt": "2025-09-16T00:17:51.663Z",
        "updatedAt": "2025-09-16T00:17:51.663Z"
      },
      {
        "id": "7f0e7464-712d-43b6-8965-25270d9fa398",
        "reward": 20,
        "type": "coins",
        "streak": {},
        "createdAt": "2025-09-16T00:24:17.650Z",
        "updatedAt": "2025-09-16T00:24:17.650Z"
      }
    ],
    "createdAt": "2025-09-15T21:09:52.746Z",
    "updatedAt": "2025-09-16T00:26:26.581Z"
  }
}