Przykłady

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
}

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Zakres w zależności od lokalizacji

Validations:

  • Must be a Integer

organization_id
opcjonalny

Zakres w zależności od organizacji

Validations:

  • Must be a Integer

smart_variable_id
opcjonalny

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
opcjonalny

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
wymagany

Validations:

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