Xsolla-logo

Reset reward chain

post/v2/project/{project_id}/admin/reward_chain/id/{reward_chain_id}/reset

Resets value points and progress of all users in the reward chain.
After the reset, you can update the validity period of the reward chain and the user can progress through it again.

Notice

You should not reset the reward chain during its validity period. In this case, users may lose earned value points before they claim their reward.
SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
reward_chain_id
required
integer

Reward chain ID.

Example: 101
Responses
204

The reward chain has been reset.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

Request samples
Response samples
application/json
{
  • "statusCode": 401,
  • "errorCode": 1020,
  • "errorMessage": "[0401-1020]: Error in Authentication method occurred"
}