Updates a specific rule applying to user attributes. The default value will be used for a not specified property (if property is not required).
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
rule_id required | number Rule ID. Example: 1 |
Successful update.
Authentication not passed or wrong. Make sure you used authentication or correct credentials.
Request validation error.
{- "name": "Ork race armor rule",
- "is_enabled": true,
- "attribute_conditions": [
- {
- "attribute": "race",
- "operator": "eq",
- "value": "ork",
- "type": "string",
- "can_be_missing": false
}
], - "items": [
- {
- "item_id": 1
}
], - "is_satisfied_for_unauth": false
}
{- "statusCode": 401,
- "errorCode": 1501,
- "errorMessage": "[0401-1501]: Authorization failed: Authorization header not sent",
- "transactionId": "x-x-x-x-transactionId-mock-x-x-x"
}