示例

DELETE /api/smart_variables/1018350801/override_values/1018350801
{
  "override_value": {}
}
200
{
  "created_at": "2019-09-11 14:40:11 UTC",
  "updated_at": "2019-09-11 14:40:11 UTC",
  "id": 1018350801,
  "match": "is_virtual=true",
  "value": "some_value",
  "omit": false,
  "use_puppet_default": false
}

参数

参数名字 描述
location_id
选填

根据位置界定的范围

Validations:

  • Must be a Integer

organization_id
选填

根据机构界定的范围

Validations:

  • Must be a Integer

smart_variable_id
选填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

smart_class_parameter_id
选填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
必填

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.