Controller/AccountsController.php
public function updateSetting($key, $value)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['value' => $value], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->put('v1/accounts/settings/' . $key . '', $parameters);

        return $result;
    }
public function updateSetting($key, $value)
    {
        $parameters = [
            'query' => [],
            'body' => json_encode(['value' => $value], JSON_UNESCAPED_UNICODE),
            'headers' => [],
        ];

        $result = $this->put('v1/accounts/settings/' . $key . '', $parameters);

        return $result;
    }
Updates an existing setting.

Updates a previously created setting.

@param string $key   The key (identifier) of the setting..
@param string $value The value of the setting