Xsolla-logo

Deactivate promotion

put/v2/project/{project_id}/admin/promotion/{promotion_id}/deactivate

Deactivates a promotion.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
promotion_id
required
integer

Promotion ID. Unique promotion identifier within the project.

Example: 111425
Responses
204

Promotion was successfully deactivated.

401

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

422

Invalid request.

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