Xsolla-logo
  • 文档
  • 创建帐户

Toggle reward chainServer-sideAdmin

put/v2/project/{project_id}/admin/reward_chain/id/{reward_chain_id}/toggle

Enable/disable reward chain.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目编号。您可以在您的发布商帐户项目名称旁边。

Example: 44056
reward_chain_id
required
integer

Reward chain ID.

Example: 101
Responses
204

The reward chain has been disabled/enabled.

401

基本认证未通过或错误。确保您使用了基本认证或正确的凭据。

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