Xsolla-logo

Refresh all promotion limits for specified userServer-sideAdmin

delete/v2/project/{project_id}/admin/user/limit/promotion/all

Refreshes all limits across all promotions for the specified user so they can use these promotions again.

User limit API allows you to limit the number of times users can use a promotion. For configuring the user limit itself, go to the Admin section of the desired promotion type:

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
Request Body schema: application/json
required
object
user_external_id
required
string non-empty ^\S+$

User external ID.

Responses
200

The promotion limit was successfully refreshed.

401

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

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