Edit Rule
Edit created Rules with this endpoint.
PS: You can also edit rules on your dashbaord. Rule Name must be in lower case and must be unique.
URL
https://test-api.bvndle.com/api/v1/laas/rules/update-rule
HTTP Method
POSTAuthorization Header
Bearer ACCESS_TOKENnametypeDescription
namestringRequired Rule Name
coinValuestringRequired Amount of coin to be given
maxNumberOfParticipantstringRequired Maximum Number of Participants (Number of users who can be rewarded.)
conditionstringRequired (if type is not combined) More instruction or condition to be fulfilled
statusstringOptional
Default: active Values: “active” or “inactive”
userLimitAwardstringOptional Pass “-1” if you do not want a maximum number Default: -1
cURL