function updateAutoSaveBuffer($id, $params = []) { $endpoint = "https://api.hubapi.com/content/api/v2/blog-posts/{$id}/buffer"; $options['json'] = $params; return $this->client->request('put', $endpoint, $options); }