src/Model/Variable.php
public function disable()
    {
        if (!$this->getProperty('is_enabled')) {
            return new Result([], $this->baseUrl, $this->client, get_called_class());
        }

        return $this->update(['is_enabled' => false]);
    }
public function disable()
    {
        if (!$this->getProperty('is_enabled')) {
            return new Result([], $this->baseUrl, $this->client, get_called_class());
        }

        return $this->update(['is_enabled' => false]);
    }
public function disable ( ) { if ( ! $ this -> getProperty ( 'is_enabled' ) ) { return new Result ( [ ] , $ this -> baseUrl , $ this -> client , get_called_class ( ) ) ; } return $ this -> update ( [ 'is_enabled' => false ] ) ; }
Disable the variable.

This is only useful if the variable is both inherited and enabled.
Non-inherited variables can be deleted.

@return Result
Disable the variable .