Examples

PUT /api/settings/6656990
{
  "setting": {
    "value": "fnlRguJpXMyrwteVSYXjRKkzOBlMnacwJPwsoIHGcVOSruKkOLeksOmpOsJtuFUjpcSohLgbAssunPjDpQJEurkeToTsHshlRmkJjwQTChhifRFoyRKmQbxsQMXDcAUrOemBXRwEXxALvKkGbLnWPGsJhRwuXzaaauIoYbgOuchYIcOwDPAQMJLiHdxMzYbpwBoMPXBSoDuwzzgTODMOlcwjgUPXLNYwAtHtFhfXtgfSDyBOOnBGoSRJwSDjAsROHulpXqstiHgrjrvUreVKYuiimWcXTrXjickrVlqceSTcOjyKYuWbRuQHLvkoNnqcmIUrfXLlxpYyBYUpphgIiMtXmWGrkJrrNvVwxPMABCjStqjwLACzbnMOChpLfUfDAWpJRllkdOEQnYMbwTjKyeajfQYlkqDmzjvsMOyBUfwvcvPbpfHVxTPEPxJObSnoSPTnjsKaCurRkfHWpnqUHknonkLRHPngvASTjcePAIuREBMqGejEuVkYNgxQyqHeOOKzEBRWjfchEgBBkKLYOqpcHDXJUliVSzPdroDolskjFpajrUXNLvEzTMyqoRrCRdHBnyjQcIuFpovyjHpGWcuqBasXDsIhqQGzsFdEboHwJVIKzQNgHRpVutddYmgaUUWKwSzkaSRpbhuWurYUDvisPSdpFyDTuliXyLyCbnAwCgIFKuFAhvYaljoNbRoVOOLGicUmaYRGHjqALxztgtkYayqwtpPwDwXevSQhCzAkOpEQSQopSCFYphssETbKhxsSlSSockhGFuqhDnggKbIlniBXlcuOMcOnudtIlWRXFSSMvXVSPfAacwGweWdjdgiQbGzpkQFNhFWQjAIEETlLOpeDjkzCKzwYfhBqkKdNGAvknmnQuLwPRotrzpWwonlYUwPImOAilcUoDcmDMVckTuuJszHoaYdBSphJzmPwhOyWHDmmszNnLtkdVHhCpsQGEPNkUgLYOATzrcgWzznpbpHIChKSDIUqelnh"
  }
}
200
{
  "value": "fnlRguJpXMyrwteVSYXjRKkzOBlMnacwJPwsoIHGcVOSruKkOLeksOmpOsJtuFUjpcSohLgbAssunPjDpQJEurkeToTsHshlRmkJjwQTChhifRFoyRKmQbxsQMXDcAUrOemBXRwEXxALvKkGbLnWPGsJhRwuXzaaauIoYbgOuchYIcOwDPAQMJLiHdxMzYbpwBoMPXBSoDuwzzgTODMOlcwjgUPXLNYwAtHtFhfXtgfSDyBOOnBGoSRJwSDjAsROHulpXqstiHgrjrvUreVKYuiimWcXTrXjickrVlqceSTcOjyKYuWbRuQHLvkoNnqcmIUrfXLlxpYyBYUpphgIiMtXmWGrkJrrNvVwxPMABCjStqjwLACzbnMOChpLfUfDAWpJRllkdOEQnYMbwTjKyeajfQYlkqDmzjvsMOyBUfwvcvPbpfHVxTPEPxJObSnoSPTnjsKaCurRkfHWpnqUHknonkLRHPngvASTjcePAIuREBMqGejEuVkYNgxQyqHeOOKzEBRWjfchEgBBkKLYOqpcHDXJUliVSzPdroDolskjFpajrUXNLvEzTMyqoRrCRdHBnyjQcIuFpovyjHpGWcuqBasXDsIhqQGzsFdEboHwJVIKzQNgHRpVutddYmgaUUWKwSzkaSRpbhuWurYUDvisPSdpFyDTuliXyLyCbnAwCgIFKuFAhvYaljoNbRoVOOLGicUmaYRGHjqALxztgtkYayqwtpPwDwXevSQhCzAkOpEQSQopSCFYphssETbKhxsSlSSockhGFuqhDnggKbIlniBXlcuOMcOnudtIlWRXFSSMvXVSPfAacwGweWdjdgiQbGzpkQFNhFWQjAIEETlLOpeDjkzCKzwYfhBqkKdNGAvknmnQuLwPRotrzpWwonlYUwPImOAilcUoDcmDMVckTuuJszHoaYdBSphJzmPwhOyWHDmmszNnLtkdVHhCpsQGEPNkUgLYOATzrcgWzznpbpHIChKSDIUqelnh",
  "description": "Text to be shown in the login-page footer",
  "category": "Setting::General",
  "settings_type": null,
  "default": null,
  "created_at": "2019-02-20 13:17:48 UTC",
  "updated_at": "2019-02-20 13:17:50 UTC",
  "id": 6656990,
  "name": "login_text",
  "full_name": null,
  "category_name": "General"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be a String

setting
required

Validations:

  • Must be a Hash

setting[value]
optional

Validations:

  • Must be a String