Examples

PUT /api/settings/6656990
{
  "setting": {
    "value": "qfdwveWrskzQCCivrvRaVoeYQfTzzjyDWtdeoPGFtCSNvDmogpapPsldfkALazFfyGOptMKmHFGVTDqrqTEinVMlTkLLEuLDLSQxvWuBWctcWUPAqoQahsdjnqKWipwBfxHsrgVWwtwjVJlsjnwgiHzjyEqHwutprUIavrPbjjbaRTbABlQmArwoDxCIXdNSyNWFvPOQKCuyDQGbotcylAvFaVhqVGWApXpMKYalSUOsnzGLfWKEoYiyCLUWPVefHxOakotYxavUFqlyoGfaoVnCRqXNwDbTnocMyCtuRbaAwTweMSHMMkBpaGiNYgoxXqbgIiiyyDqnvvqnsljtMqEjmLpFbxUgvahSPeGGxDhHOjpgfjMemvNVPLvlioKjKDzntEClLGpXfNnEcKHwwBfIXzCdpJmykwrPxcqfvlmRwapgJbLHuDyOsoYKTAmIceUWIQnfcINnIbEKyRiQfRCOCpUsxLSQPNrKCkfRMBXUfiFqyCDxJuaVhecUGNrcYWbUcoyPaAgHfBnGfnOYOFWkQtCXghAHTqpBnSdBzRVPfKaCoVHSXTNWkFzvawCwqwhUQATDfRCqXSFAYDSxORgiHdNteMChYejcbtvhYgCtVflcWJKeMHkNcGogbjeglhKdJDNqHtIpNItlpUMAuNevFPpvSyRaWzhashRbmEOqkJiLbzYbjNXCtWYQaURjUupSQCmqjQHOQClCoqhnogtTRGkRKFiRFlbeUDCFjtnqzFOlBkoMaUmlUnUwlysYBqiuMsxUQrSpkORtdQTanJLULbUDFWzXYPpfOIPxGXIYRzrYNRoyAyNGnrWqkMeyeIeofNMdYtngnHUhFNpUESQvMsHRVpHyeiArrMnwuFqEirXjoUGxJEUGWveknevBkRXxmkbfUulejdnOfESxQmIUwSggnGjtHpfrKOiLmOWebEFnnRiKqjddxrsXiQiWNvdzhFrSPVuIjrPepcjLFqwzQRjtPvgOJFcFNGlr"
  }
}
200
{
  "value": "qfdwveWrskzQCCivrvRaVoeYQfTzzjyDWtdeoPGFtCSNvDmogpapPsldfkALazFfyGOptMKmHFGVTDqrqTEinVMlTkLLEuLDLSQxvWuBWctcWUPAqoQahsdjnqKWipwBfxHsrgVWwtwjVJlsjnwgiHzjyEqHwutprUIavrPbjjbaRTbABlQmArwoDxCIXdNSyNWFvPOQKCuyDQGbotcylAvFaVhqVGWApXpMKYalSUOsnzGLfWKEoYiyCLUWPVefHxOakotYxavUFqlyoGfaoVnCRqXNwDbTnocMyCtuRbaAwTweMSHMMkBpaGiNYgoxXqbgIiiyyDqnvvqnsljtMqEjmLpFbxUgvahSPeGGxDhHOjpgfjMemvNVPLvlioKjKDzntEClLGpXfNnEcKHwwBfIXzCdpJmykwrPxcqfvlmRwapgJbLHuDyOsoYKTAmIceUWIQnfcINnIbEKyRiQfRCOCpUsxLSQPNrKCkfRMBXUfiFqyCDxJuaVhecUGNrcYWbUcoyPaAgHfBnGfnOYOFWkQtCXghAHTqpBnSdBzRVPfKaCoVHSXTNWkFzvawCwqwhUQATDfRCqXSFAYDSxORgiHdNteMChYejcbtvhYgCtVflcWJKeMHkNcGogbjeglhKdJDNqHtIpNItlpUMAuNevFPpvSyRaWzhashRbmEOqkJiLbzYbjNXCtWYQaURjUupSQCmqjQHOQClCoqhnogtTRGkRKFiRFlbeUDCFjtnqzFOlBkoMaUmlUnUwlysYBqiuMsxUQrSpkORtdQTanJLULbUDFWzXYPpfOIPxGXIYRzrYNRoyAyNGnrWqkMeyeIeofNMdYtngnHUhFNpUESQvMsHRVpHyeiArrMnwuFqEirXjoUGxJEUGWveknevBkRXxmkbfUulejdnOfESxQmIUwSggnGjtHpfrKOiLmOWebEFnnRiKqjddxrsXiQiWNvdzhFrSPVuIjrPepcjLFqwzQRjtPvgOJFcFNGlr",
  "description": "Text to be shown in the login-page footer",
  "category": "Setting::General",
  "settings_type": null,
  "default": null,
  "created_at": "2018-11-15 19:01:27 UTC",
  "updated_at": "2018-11-15 19:02:13 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