Zendesk\API\Resources\Core\AppInstallations::update PHP Method

update() public method

Updates the settings for the app installation
public update ( null $id = null, array $updateResourceFields = [], string $routeKey = __FUNCTION__ ) : stdClass
$id null
$updateResourceFields array
$routeKey string
return stdClass | null
    public function update($id = null, array $updateResourceFields = [], $routeKey = __FUNCTION__)
    {
        if (empty($id)) {
            $id = $this->getChainedParameter(__CLASS__);
        }
        $route = $this->getRoute($routeKey, ['id' => $id]);
        return $this->client->put($route, $updateResourceFields);
    }