# カタログフィルタルールを修正 ユーザー属性に適用される特定のルールを更新します。指定されていないプロパティには、現在の値が使用されます。 Endpoint: PATCH /v2/project/{project_id}/admin/user/attribute/rule/{rule_id} Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 - `rule_id` (number, required) ルールID。 Example: 1 ## Request fields (application/json): - `attribute_conditions` (array) ユーザー属性を検証するための条件。 ユーザー属性が指定されたすべての条件に一致するかどうかに基づいて、カタログ内のアイテムの可用性を決定します。 - `is_enabled` (boolean) ルールが有効な場合。 - `is_satisfied_for_unauth` (boolean) アイテムを無許可のユーザーに表示するかどうか。「true」の場合、カタログ表示ルールに関係なく、アイテムは権限のないユーザーに表示されます。デフォルトでは「false」です。 - `items` (array) - `name` (string) ルールの読みやすい名前。パブリッシャーアカウントでルールを表示するために使用します。 ## Response 401 fields (application/json): - `errorCode` (integer) Example: 1501 - `errorMessage` (string) Example: "[0401-1501]: Authorization failed: Authorization header not sent" - `statusCode` (integer) Example: 401 - `transactionId` (string) Example: "x-x-x-x-transactionId-mock-x-x-x" ## Response 422 fields (application/json): - `errorCode` (number) エラーコード。 Example: 1102 - `errorMessage` (string) 読み取り可能なエラーメッセージ。 Example: "[0401-1102]: Unprocessable Entity. The property `external_id` is required" - `statusCode` (number) 応答状態コード。 Example: 422 - `transactionId` (string) リクエストの一意ID。 Example: "da145238620011eb8e24fe6913ff226a" ## Response 204 fields