Examples

PUT /api/settings/426558050
{
  "setting": {
    "value": "qCJmqVjLrQREEEoPvSUUzFazJTsaYkeOWchkdtmFySaxNwtxWzVktEeNonvhwwLFqhBTDklqytKuerqGTnUTtmNIEsrPgufcVcOOBKxMWiOjvATCAgNiRcDlUIsgKypqgeladUcMfBaWPmJbOvqqHJHCJtEibcNRHcSKqJVXiVuVYrYltIATwsHUNerRJwpQfbbFHdXzmADzwUsBQpHrYuXsGWzhnmpVwEFegEVxKYXXNuprKrnISFYxxxhrtTvHEAVxWAyCCLvAeCQgQygjaSYVglzQYFTeTQAGwLVpuyWqEmPboTYWdMOHsPWAMtLoyhxlAnRhHgdIkTkgAlrTIrBSbycnwENlcCBEXKAEJPKoBEByPIhJwuDCeUYfvDsjrNYhaGPEcuvgeOmhGhwzKFnCUpIWFzKWzbmwebBKJUKkYjQaDUBWYFvPqdbcmJzseWWDHNbQjLgImpNjCEYCuwGoEGuImjbyCcGIPyNRYeGkwTwWdywkoHzFqnIBsLdEtbSdzHJawCUcKSkIUDkQBcoaElkQiAECCYevhcyQbeEWgagDUkpWpQXHfgsxzPvnsHrJwMUjvAEwQDAmdXUQekhaQNJMIpamABGKhWVmXCYtNtLlWwcBblWQTFNnYUiCLfPWCqUaFLFkRBmfXfpDfhenwBcFpDyHVvdfSEogGElerehhJGBAloMevVoAlOrCpSynimPRjBYrvdPvFONpxTXpdkCepxaEtyfthysazRnNcCcHhgKIYHdyRTHWJXdwymKgjiTTMxxNhTDxcjPGXEHEszowySTbbkIdtnfxPopODTsdvwaLAEobBPJdkMobaVnygeTuGKQIAGaEOviAeflsBtNCczSaDAawwQdVBBPfbBSIEkyGfgLKMnedaSRboFRdzDGfNuHnPwetMxzNiurlRQpKfgWtnoKmkSmWgAthKQnOvBDaPvDkEJHUgulfwIvinTtfDPAkFBFIkwdcqvaFAHgymrPpFoGBwqvd"
  }
}
200
{
  "value": "qCJmqVjLrQREEEoPvSUUzFazJTsaYkeOWchkdtmFySaxNwtxWzVktEeNonvhwwLFqhBTDklqytKuerqGTnUTtmNIEsrPgufcVcOOBKxMWiOjvATCAgNiRcDlUIsgKypqgeladUcMfBaWPmJbOvqqHJHCJtEibcNRHcSKqJVXiVuVYrYltIATwsHUNerRJwpQfbbFHdXzmADzwUsBQpHrYuXsGWzhnmpVwEFegEVxKYXXNuprKrnISFYxxxhrtTvHEAVxWAyCCLvAeCQgQygjaSYVglzQYFTeTQAGwLVpuyWqEmPboTYWdMOHsPWAMtLoyhxlAnRhHgdIkTkgAlrTIrBSbycnwENlcCBEXKAEJPKoBEByPIhJwuDCeUYfvDsjrNYhaGPEcuvgeOmhGhwzKFnCUpIWFzKWzbmwebBKJUKkYjQaDUBWYFvPqdbcmJzseWWDHNbQjLgImpNjCEYCuwGoEGuImjbyCcGIPyNRYeGkwTwWdywkoHzFqnIBsLdEtbSdzHJawCUcKSkIUDkQBcoaElkQiAECCYevhcyQbeEWgagDUkpWpQXHfgsxzPvnsHrJwMUjvAEwQDAmdXUQekhaQNJMIpamABGKhWVmXCYtNtLlWwcBblWQTFNnYUiCLfPWCqUaFLFkRBmfXfpDfhenwBcFpDyHVvdfSEogGElerehhJGBAloMevVoAlOrCpSynimPRjBYrvdPvFONpxTXpdkCepxaEtyfthysazRnNcCcHhgKIYHdyRTHWJXdwymKgjiTTMxxNhTDxcjPGXEHEszowySTbbkIdtnfxPopODTsdvwaLAEobBPJdkMobaVnygeTuGKQIAGaEOviAeflsBtNCczSaDAawwQdVBBPfbBSIEkyGfgLKMnedaSRboFRdzDGfNuHnPwetMxzNiurlRQpKfgWtnoKmkSmWgAthKQnOvBDaPvDkEJHUgulfwIvinTtfDPAkFBFIkwdcqvaFAHgymrPpFoGBwqvd",
  "description": "Text to be shown in the login-page footer",
  "category": "Setting::General",
  "settings_type": null,
  "default": null,
  "created_at": "2019-09-11 14:55:17 UTC",
  "updated_at": "2019-09-11 14:55:19 UTC",
  "id": 426558050,
  "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