# Update a Project Update a project's settings, such as your CRM set up, or your hostname. Endpoint: PATCH /v2/magazine/title/{project_id} Version: 1.0.0 Security: BearerAuth ## Path parameters: - `project_id` (integer, required) The resource ID of the Project Example: 123456789 ## Request fields (application/json): - `name` (string) - `identifier` (string) - `has_secure_socket_layer` (boolean) - `ua_code` (string) Example: "UA-xxxxxx-yy" - `security_profile` (string,null) Enum: null, "medium_2019", "high_2019" - `website` (string) - `ga4_config` (object) Google Analytics 4 tracking object represents the configuration. - `ga4_config.measurement_id` (string,null) Google measurement ID. - `ga4_config.has_views_enabled` (boolean) Enable detect and track page views. - `ga4_config.has_events_enabled` (boolean) Enable detect and track events. - `ga4_config.has_enabled` (boolean) - `pardot_code` (object) Pardot tracking object represents the configuration for the client IDs. - `pardot_code.piCid` (string, required) Client tracking ID. - `pardot_code.piAid` (string, required) Account tracking ID. - `eloqua_code` (object) Pardot tracking object represents the configuration for the client IDs. - `hubspot_code` (object) HubSpot tracking object represents the configuration. - `hubspot_code.hub_id` (string, required) HubSpot tracking ID. - `hubspot_code.hublet` (string, required) HubSpot account region. - `hubspot_code.is_enabled` (boolean, required) Enables tracking. ## Response 200 fields (application/json): - `name` (string) - `identifier` (string) - `hostname` (string,null) - `ua_code` (string,null) Example: "UA-xxxxxx-yy" - `marketo_code` (object) - `marketo_code.munchkin_id` (string) - `marketo_code.is_enabled` (boolean) - `hubspot_code` (object) - `hubspot_code.hub_id` (string) - `hubspot_code.hublet` (string,null) - `pardot_code` (object) - `pardot_code.piCid` (string) - `pardot_code.piAid` (string) - `ga4_config` (object) - `ga4_config.has_enabled` (boolean) - `ga4_config.has_events_enabled` (boolean) - `ga4_config.has_views_enabled` (boolean) - `ga4_config.measurement_id` (string,null) - `eloqua_code` (object) - `eloqua_code.site_id` (string) - `eloqua_code.custom_tracker_subdomain` (string) - `security_profile` (string,null) - `website` (string,null) - `license` (integer) - `has_secure_socket_layer` (boolean) - `affected_on` (string) - `options` (array) - `certificate` (string,null) - `certificate_chain` (string,null) - `certificate_key` (string,null) - `automated_certificate` (boolean) - `id` (integer) - `created_on` (string) - `modified_on` (string) - `logo` (string,null) - `icon` (string,null) - `splash` (string,null) - `rules` (object) - `_embedded` (object) - `_embedded.account` (object) - `_embedded.account._links` (object) - `_embedded.account._links.self` (object) - `_embedded.account._links.self.href` (string) Example: "https://api.foleon.com/..." - `_embedded.editions` (object) - `_computed` (object) - `_computed.background_color` (string) Example: "rgba(0,0,0,0)" - `_computed.editions_count` (integer) - `_computed.editions_published_count` (integer) ## Response 400 fields ## Response 401 fields