Rewards
Stop sharing data for a prize before it is delivered
Changed onPP v2.4 §2A: "You may withdraw the consent at any time before delivery." Ends the coach's prize-scoped access immediately. The prize is kept. Idempotent — returns withdrawn: false when access had already ended (expired, delivered or withdrawn). 404 if the prize never asked for consent.
post/api/rewards/grants/{id}/consent/withdraw
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/rewards/grants/{id}/consent/withdraw
- AuthHTTP bearer
Path parameters
idnumber required
Changes
- info
endpoint added
- info