destroy

DELETE /api/v1/accounts/:account_id/rewards/:id

Delete a reward

Permanently deletes a reward. This cannot be undone.

Parameters

Name Type Required Description
account_id Must be a number. Required

Store (account) ID

id Must be a number. Required

Reward ID

Error Codes

Code Description
401 Unauthorized – invalid or missing API token
404 Store or reward not found
422 Reward could not be deleted