Xsolla-logo

Manage age restrictions for countries

post/projects/{project_id}/age_rating/batch

Updates, deletes, or creates age restrictions for all countries in a project. You may set default restrictions for all countries and set country-specific restrictions, if any.

Notice
Each new call overrides previous settings.

Request
path Parameters
project_id
required
string <uuid>

게시자 계정의 로그인 프로젝트 ID입니다.

Request Body schema: application/json
Array (<= 100 items)
age
required
integer [ 1 .. 99 ]
country_code
required
string^[a-zA-Z]{2}$

Country code in the ISO 3166-1 alpha-2 format. Use XX to update default restrictions for all countries.

rating_name
string <= 255 characters
Responses
200

확인

400

잘못된 요청

401

인증되지 않음

403

금지됨

422

처리할 수 없는 엔터티

429

요청이 너무 많음

500

내부 서버 오류

Request samples
application/json
[
  • {
    }
]
Response samples
{
  • "error": {
    }
}