Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.
Partenaires uniquement. Identifiant partenaire à associer au site. Chaîne non vide : définition/remplacement ; null : effacement. Espaces périphériques retirés ; vide ou plus de 255 caractères : 400. Clé d’une organisation partenaire requise ; client direct : 403 Forbidden. Unique par type de ressource dans l’organisation ; une valeur déjà utilisée renvoie 409 avec le site existant.
Required string length: 1 - 255
Exemple:
"ws_a7f3b2c9"
Réponse
Association mise à jour. externalId toujours présent : nouvelle valeur ou null après effacement. Comme les recherches external_id, et contrairement à la liste GET /api/v1/websites, ce point ne renvoie pas baseCountry.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"AthenaHQ","colors":{"primary":"#4f39f6","light":"#7c86ff","dark":"#4f39f6"},"logo":{"light":"https://mintcdn.com/athenahq/L9mnbtCFYX94d6KY/logo/ahq_logo.svg?fit=max\u0026auto=format\u0026n=L9mnbtCFYX94d6KY\u0026q=85\u0026s=e929a8fbe48ea55a88a26164326a1b68","dark":"https://mintcdn.com/athenahq/L9mnbtCFYX94d6KY/logo/ahq_logo.svg?fit=max\u0026auto=format\u0026n=L9mnbtCFYX94d6KY\u0026q=85\u0026s=e929a8fbe48ea55a88a26164326a1b68"},"favicon":"https://mintcdn.com/athenahq/l-RALGQGlLg9vCM3/favicon.ico?fit=max\u0026auto=format\u0026n=l-RALGQGlLg9vCM3\u0026q=85\u0026s=902f75ca9d61dedcf06910b630c2349b","navbar":{"links":[{"href":"mailto:support@athenahq.ai","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://app.athenahq.ai/settings/api"}},"footer":{"socials":{"website":"https://athenahq.ai","linkedin":"https://linkedin.com/company/athena-hq"}},"contextual":{"options":["copy","chatgpt","claude","perplexity"],"display":"header"},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","default":true,"href":"getting-started/setup"},{"language":"es","default":false,"navbar":{"links":[{"href":"mailto:support@athenahq.ai","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.athenahq.ai/settings/api"}},"href":"es/getting-started/setup"},{"language":"fr","default":false,"navbar":{"links":[{"href":"mailto:support@athenahq.ai","label":"Assistance"}],"primary":{"type":"button","label":"Tableau de bord","href":"https://app.athenahq.ai/settings/api"}},"href":"fr/getting-started/setup"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"athenahq","hasAudioNarration":false,"actualSubdomain":"athenahq","customDomains":["docs.athenahq.ai"],"gitSource":{"type":"github","owner":"ay-ay-ay-ay","repo":"athenahq","deployBranch":"main","contentDirectory":"docs-api","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae952f0f8a6220500f817a6","collectionId":"3f17186c-cde6-4889-93f4-f968047e7890","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae952f0f8a6220500f817a6"},"feedback":{"thumbs":true},"entitlements":{},"buildId":"6ae952f0f8a6220500f817a6","clientVersion":"0.0.4045","searchFilterCounts":[{"language":"en","tag":"API Reference","count":128},{"language":"es","tag":"Referencia de la API","count":128},{"language":"fr","tag":"Référence de l’API","count":128},{"language":"en","tag":"Documentation","count":63},{"language":"es","tag":"Documentación","count":63},{"language":"fr","tag":"Documentation","count":63},{"language":"en","tag":"Page Reference","count":55},{"language":"es","tag":"Referencia de páginas","count":55},{"language":"fr","tag":"Référence des pages","count":55},{"language":"en","tag":"Content \u0026 Knowledge","count":38},{"language":"es","tag":"Contenido y conocimiento","count":38},{"language":"fr","tag":"Contenu et connaissances","count":38},{"language":"en","tag":"Core Resources","count":33},{"language":"es","tag":"Recursos principales","count":33},{"language":"fr","tag":"Ressources principales","count":33},{"language":"en","tag":"Administration","count":32},{"language":"es","tag":"Administración","count":32},{"language":"fr","tag":"Administration","count":32},{"language":"en","tag":"Content Hub","count":19},{"language":"es","tag":"Centro de contenido","count":19},{"language":"fr","tag":"Content Hub","count":19},{"language":"en","tag":"Analytics","count":16},{"language":"es","tag":"Analítica","count":16},{"language":"fr","tag":"Analyses","count":16},{"language":"en","tag":"Knowledge Base","count":15},{"language":"es","tag":"Base de conocimientos","count":15},{"language":"fr","tag":"Base de connaissances","count":15},{"language":"en","tag":"Members","count":12},{"language":"es","tag":"Miembros","count":12},{"language":"fr","tag":"Membres","count":12}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"fr/api-reference/basics/update-website","slug":"/fr/api-reference/basics/update-website","pageMetadata":{"title":"Mettre à jour un site web","description":"Définit, remplace ou efface le `external_id` partenaire associé à un site web. **Intégrations partenaires uniquement :** transmettez `external_id` sous forme de chaîne non vide pour définir ou remplacer l’association, ou `null` pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son `external_id`. Un `external_id` déjà associé à un autre site de votre organisation renvoie `409` avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.","openapi":"fr/api-reference/openapi.json patch /api/v1/websites/{website_id}","href":"/fr/api-reference/basics/update-website"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Définit, remplace ou efface le \", _jsx(_components.code, {\n children: \"external_id\"\n }), \" partenaire associé à un site web. \", _jsx(_components.strong, {\n children: \"Intégrations partenaires uniquement :\"\n }), \" transmettez \", _jsx(_components.code, {\n children: \"external_id\"\n }), \" sous forme de chaîne non vide pour définir ou remplacer l’association, ou \", _jsx(_components.code, {\n children: \"null\"\n }), \" pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son \", _jsx(_components.code, {\n children: \"external_id\"\n }), \". Un \", _jsx(_components.code, {\n children: \"external_id\"\n }), \" déjà associé à un autre site de votre organisation renvoie \", _jsx(_components.code, {\n children: \"409\"\n }), \" avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Mettre à jour un site web","description":"Définit, remplace ou efface le `external_id` partenaire associé à un site web. **Intégrations partenaires uniquement :** transmettez `external_id` sous forme de chaîne non vide pour définir ou remplacer l’association, ou `null` pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son `external_id`. Un `external_id` déjà associé à un autre site de votre organisation renvoie `409` avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.","openapi":"fr/api-reference/openapi.json patch /api/v1/websites/{website_id}","href":"/fr/api-reference/basics/update-website"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Basics"],"summary":"Mettre à jour un site web","description":"Définit, remplace ou efface le `external_id` partenaire associé à un site web. **Intégrations partenaires uniquement :** transmettez `external_id` sous forme de chaîne non vide pour définir ou remplacer l’association, ou `null` pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son `external_id`. Un `external_id` déjà associé à un autre site de votre organisation renvoie `409` avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.","operationId":"updateWebsite","security":["542b5203-7fac-4bc3-a7c5-9b8ea14ef0a1"],"requestBody":"a71cdb3d-c645-4050-84dc-31a87883d777","responses":{"200":"112201cc-86ee-4ffc-a29c-80e9d0376c28","400":"4d90c5de-7284-4c66-8204-2344de9640de","401":"9401b4c3-75dc-44fe-a5ac-a0a6efd421e0","403":"c71f06b5-2dee-4562-989e-8808843c57aa","404":"5e2dee9d-a4a7-4573-9159-11a094eae507","409":"f6b606c9-2cd9-4506-b1ee-a5b27f460fea","500":"a877c680-20fb-44cd-a342-2795f75dbcd0"},"method":"patch","type":"path","servers":["e7dec90e-429a-4746-8471-ec9f07e264b7"],"path":"/api/v1/websites/{website_id}","baseUrlOptions":["https://api.athenahq.ai"],"title":"Mettre à jour un site web","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"95661a8b-d92a-4460-a8d3-4adedf198242":{"name":"website_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","isRequired":true,"description":"Identifiant unique du site","uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Identifiant unique du site","example":"123e4567-e89b-12d3-a456-426614174000"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"description":"Corps de modification d’un site. `external_id` obligatoire ; champs inconnus refusés avec `400`.","required":["external_id"],"properties":{"external_id":{"oneOf":[{"type":"string","minLength":1,"maxLength":255,"description":"**Partenaires uniquement.** Identifiant partenaire à associer au site. Chaîne non vide : définition/remplacement ; `null` : effacement. Espaces périphériques retirés ; vide ou plus de 255 caractères : `400`. Clé d’une organisation partenaire requise ; client direct : `403 Forbidden`. Unique par type de ressource dans l’organisation ; une valeur déjà utilisée renvoie `409` avec le site existant.","example":"ws_a7f3b2c9","isRequired":true,"uniqueKey":"external_id.oneOf.0","typeLabel":"string"},{"type":"null","minLength":1,"maxLength":255,"description":"**Partenaires uniquement.** Identifiant partenaire à associer au site. Chaîne non vide : définition/remplacement ; `null` : effacement. Espaces périphériques retirés ; vide ou plus de 255 caractères : `400`. Clé d’une organisation partenaire requise ; client direct : `403 Forbidden`. Unique par type de ressource dans l’organisation ; une valeur déjà utilisée renvoie `409` avec le site existant.","example":"ws_a7f3b2c9","isRequired":true,"uniqueKey":"external_id.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"external_id","typeLabel":"string | null"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"external_id":"ws_a7f3b2c9"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"112201cc-86ee-4ffc-a29c-80e9d0376c28":{"description":"Association mise à jour. `externalId` toujours présent : nouvelle valeur ou `null` après effacement. Comme les recherches `external_id`, et contrairement à la liste `GET /api/v1/websites`, ce point ne renvoie pas `baseCountry`.","content":{"application/json":{"schema":{"type":"object","required":["website"],"properties":{"website":{"type":"object","required":["id","websiteName","websiteUrl","onboardingStep","externalId"],"properties":{"id":{"type":"string","format":"uuid","description":"Identifiant unique du site","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"website.id","typeLabel":"string\u003cuuid>"},"websiteName":{"type":"string","description":"Nom d’affichage du site","example":"My Awesome Blog","isRequired":true,"uniqueKey":"website.websiteName","typeLabel":"string"},"websiteUrl":{"type":"string","description":"Domaine du site web (sans protocole)","example":"example.com","isRequired":true,"uniqueKey":"website.websiteUrl","typeLabel":"string"},"onboardingStep":{"oneOf":[{"type":"integer","description":"Étape actuelle de configuration du site. Null signifie configuration terminée.","example":null,"isRequired":true,"uniqueKey":"website.onboardingStep.oneOf.0","typeLabel":"integer"},{"type":"null","description":"Étape actuelle de configuration du site. Null signifie configuration terminée.","example":null,"isRequired":true,"uniqueKey":"website.onboardingStep.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"website.onboardingStep","typeLabel":"integer | null"},"externalId":{"oneOf":[{"type":"string","description":"Identifiant fourni par le partenaire désormais associé à ce site web, ou `null` lorsque la requête a effacé l’association.","example":"ws_a7f3b2c9","isRequired":true,"uniqueKey":"website.externalId.oneOf.0","typeLabel":"string"},{"type":"null","description":"Identifiant fourni par le partenaire désormais associé à ce site web, ou `null` lorsque la requête a effacé l’association.","example":"ws_a7f3b2c9","isRequired":true,"uniqueKey":"website.externalId.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"website.externalId","typeLabel":"string | null"}},"isRequired":true,"uniqueKey":"website","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"website":{"id":"123e4567-e89b-12d3-a456-426614174000","websiteName":"My Awesome Blog","websiteUrl":"example.com","onboardingStep":null,"externalId":"ws_a7f3b2c9"}}}},"exampleType":"generated"}},"exampleType":"generated"},"4d90c5de-7284-4c66-8204-2344de9640de":{"description":"Requête incorrecte — erreur de validation ou identifiant de site invalide","content":{"application/json":{"schema":{"type":"object","description":"Objet de réponse d’erreur","required":["error"],"properties":{"error":{"type":"string","description":"Message expliquant l’erreur","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_external_id":{"title":"missing_external_id","value":{"error":"'external_id' is required"}},"invalid_website_id":{"title":"invalid_website_id","value":{"error":"Invalid website ID format"}},"invalid_json":{"title":"invalid_json","value":{"error":"Invalid JSON body"}},"unrecognized_field":{"title":"unrecognized_field","value":{"error":"Unrecognized key: \"externalId\""}}},"exampleType":"examples"}},"exampleType":"examples"},"9401b4c3-75dc-44fe-a5ac-a0a6efd421e0":{"description":"Non autorisé — clé API invalide ou absente","content":{"application/json":{"schema":{"type":"object","description":"Objet de réponse d’erreur","required":["error"],"properties":{"error":{"type":"string","description":"Message expliquant l’erreur","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"},"c71f06b5-2dee-4562-989e-8808843c57aa":{"description":"Interdit — clé globale d’une organisation partenaire requise.","content":{"application/json":{"schema":{"type":"object","description":"Objet de réponse d’erreur","required":["error"],"properties":{"error":{"type":"string","description":"Message expliquant l’erreur","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"global_required":{"title":"global_required","value":{"error":"Forbidden: global API key required"}},"partner_required":{"title":"partner_required","value":{"error":"Forbidden: partner API key required"}}},"exampleType":"examples"}},"exampleType":"examples"},"5e2dee9d-a4a7-4573-9159-11a094eae507":{"description":"Introuvable — le site n’existe pas ou n’appartient pas à votre organisation","content":{"application/json":{"schema":{"type":"object","description":"Objet de réponse d’erreur","required":["error"],"properties":{"error":{"type":"string","description":"Message expliquant l’erreur","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"error":"Website not found"},"examples":{"Example":{"title":"Example","value":{"error":"Website not found"}}},"exampleType":"examples"}},"exampleType":"examples"},"f6b606c9-2cd9-4506-b1ee-a5b27f460fea":{"description":"Conflit - Le `external_id` fourni est déjà associé à un autre site web de votre organisation. Effacez-le d’abord sur ce site web.","content":{"application/json":{"schema":{"type":"object","description":"Renvoyé si un partenaire définit un `external_id` déjà associé à une autre ressource du même type dans l’organisation. `existing` identifie la ressource détentrice pour récupérer une relance ou rapprocher les associations.","required":["error","message","existing"],"properties":{"error":{"type":"string","enum":["external_id_conflict"],"description":"Code d’erreur machine, toujours `external_id_conflict`.","example":"external_id_conflict","isRequired":true,"uniqueKey":"error","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Explication lisible du conflit.","example":"external_id ws_a7f3b2c9 is already mapped to a website","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"existing":{"type":"object","required":["id","externalId"],"description":"Ressource détenant actuellement le `external_id` en conflit.","properties":{"id":{"type":"string","format":"uuid","description":"ID Athena de la ressource existante.","example":"123e4567-e89b-12d3-a456-426614174000","isRequired":true,"uniqueKey":"existing.id","typeLabel":"string\u003cuuid>"},"externalId":{"type":"string","description":"external_id déjà associé.","example":"ws_a7f3b2c9","isRequired":true,"uniqueKey":"existing.externalId","typeLabel":"string"}},"isRequired":true,"uniqueKey":"existing","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"external_id_conflict":{"title":"external_id_conflict","value":{"error":"external_id_conflict","message":"external_id ws_a7f3b2c9 is already mapped to a website","existing":{"id":"123e4567-e89b-12d3-a456-426614174000","externalId":"ws_a7f3b2c9"}}}},"exampleType":"examples"}},"exampleType":"examples"},"a877c680-20fb-44cd-a342-2795f75dbcd0":{"description":"Erreur interne du serveur","content":{"application/json":{"schema":{"type":"object","description":"Objet de réponse d’erreur","required":["error"],"properties":{"error":{"type":"string","description":"Message expliquant l’erreur","example":"Unauthorized","isRequired":true,"uniqueKey":"error","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":"Unauthorized"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"542b5203-7fac-4bc3-a7c5-9b8ea14ef0a1":{"apiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"Clé API d’authentification. Créez-en une [ici](https://app.athenahq.ai/organization?tab=api).","scopes":[],"schemeName":"apiKey"}}},"servers":{"e7dec90e-429a-4746-8471-ec9f07e264b7":{"url":"https://api.athenahq.ai","description":"Serveur de production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-api-key","description":"Clé API d’authentification. Créez-en une [ici](https://app.athenahq.ai/organization?tab=api).","scopes":[],"schemeName":"apiKey"},"schema":{"title":"x-api-key","type":"string","description":"Clé API d’authentification. Créez-en une [ici](https://app.athenahq.ai/organization?tab=api).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKey","name":"x-api-key"}],"title":"apiKey"}]},"originalFileLocation":"fr/api-reference/openapi.json"},"subdomain":"athenahq","siteName":"AthenaHQ","title":"Mettre à jour un site web - AthenaHQ","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/api-reference/basics/update-website","matchLevel":1},"es":{"href":"/es/api-reference/basics/update-website","matchLevel":1},"fr":{"href":"/fr/api-reference/basics/update-website","matchLevel":0}}},"lastModified":"2026-11-03T03:20:38.092Z","originalFileLocation":"fr/api-reference/basics/update-website.mdx","locale":"fr"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\">\u003cmeta data-mint-head name=\"application-name\" content=\"AthenaHQ\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Mettre à jour un site web - AthenaHQ\">\u003cmeta data-mint-head property=\"og:description\" content=\"Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"AthenaHQ\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://athenahq.mintlify.app/_mintlify/api/og/v2?division=Sites+web\u0026amp;title=Mettre+%C3%A0+jour+un+site+web\u0026amp;description=D%C3%A9finit%2C+remplace+ou+efface+le+%60external_id%60+partenaire+associ%C3%A9+%C3%A0+un+site+web.+**Int%C3%A9grations+partenaires+uniquement+%3A**+transmettez+%60external_id%60+sous+forme+de\u0026amp;theme=0b3a918be6754723090d9161\u0026amp;signature=c19e2de4306611cd6d8a66bc91541eb32eaf713f57157cfa5d9665f19a605d94\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Mettre à jour un site web - AthenaHQ\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://athenahq.mintlify.app/_mintlify/api/og/v2?division=Sites+web\u0026amp;title=Mettre+%C3%A0+jour+un+site+web\u0026amp;description=D%C3%A9finit%2C+remplace+ou+efface+le+%60external_id%60+partenaire+associ%C3%A9+%C3%A0+un+site+web.+**Int%C3%A9grations+partenaires+uniquement+%3A**+transmettez+%60external_id%60+sous+forme+de\u0026amp;theme=0b3a918be6754723090d9161\u0026amp;signature=c19e2de4306611cd6d8a66bc91541eb32eaf713f57157cfa5d9665f19a605d94\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/athenahq/CgBKLUlhcFuNVwLc/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"AthenaHQ\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4f39f6\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/fr/api-reference/basics/update-website.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.athenahq.ai/api-reference/basics/update-website\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.athenahq.ai/es/api-reference/basics/update-website\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.athenahq.ai/api-reference/basics/update-website\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.athenahq.ai/#organization\",\"name\":\"AthenaHQ\",\"url\":\"https://docs.athenahq.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/athenahq/L9mnbtCFYX94d6KY/logo/ahq_logo.svg?fit=max\u0026auto=format\u0026n=L9mnbtCFYX94d6KY\u0026q=85\u0026s=e929a8fbe48ea55a88a26164326a1b68\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.athenahq.ai#website\",\"name\":\"AthenaHQ\",\"url\":\"https://docs.athenahq.ai\",\"publisher\":{\"@id\":\"https://docs.athenahq.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website#webpage\",\"url\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\",\"name\":\"Mettre à jour un site web\",\"description\":\"Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\",\"dateModified\":\"2026-11-03T03:20:38.092Z\",\"isPartOf\":{\"@id\":\"https://docs.athenahq.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Ressources principales\",\"item\":\"https://docs.athenahq.ai/fr/api-reference/basics/validate-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sites web\",\"item\":\"https://docs.athenahq.ai/fr/api-reference/basics/get-websites\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Mettre à jour un site web\",\"item\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website#apireference\",\"headline\":\"Mettre à jour un site web\",\"name\":\"Mettre à jour un site web\",\"description\":\"Définit, remplace ou efface le external_id partenaire associé à un site web. Intégrations partenaires uniquement : transmettez external_id sous forme de chaîne non vide pour définir ou remplacer l’association, ou null pour l’effacer. Nécessite une clé API globale. Fonctionne aussi sur les sites supprimés, car supprimer un site ne libère pas son external_id. Un external_id déjà associé à un autre site de votre organisation renvoie 409 avec le détenteur actuel ; pour transférer un ID, effacez-le d’abord du détenteur actuel, puis définissez-le sur le nouveau.\",\"url\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website\",\"mainEntityOfPage\":{\"@id\":\"https://docs.athenahq.ai/fr/api-reference/basics/update-website#webpage\"},\"dateModified\":\"2026-11-03T03:20:38.092Z\",\"publisher\":{\"@id\":\"https://docs.athenahq.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.athenahq.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"AthenaHQ\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"AthenaHQ","nav":{"global":null,"languages":[{"language":"en","default":true,"pages":[{"title":"en","href":"/api-reference/basics/update-website"}]},{"language":"es","default":false,"navbar":{"links":[{"href":"mailto:support@athenahq.ai","label":"Soporte"}],"primary":{"type":"button","label":"Panel","href":"https://app.athenahq.ai/settings/api"}},"pages":[{"title":"es","href":"/es/api-reference/basics/update-website"}]},{"language":"fr","default":false,"navbar":{"links":[{"href":"mailto:support@athenahq.ai","label":"Assistance"}],"primary":{"type":"button","label":"Tableau de bord","href":"https://app.athenahq.ai/settings/api"}},"tabs":[{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/fr/getting-started/setup"}]},{"tab":"Référence de l’API","icon":"code","groups":[{"group":"Vue d’ensemble","pages":[{"title":"Introduction","icon":"book","href":"/fr/api-reference/introduction"},{"title":"Authentification","icon":"key","href":"/fr/api-reference/authentication"},{"title":"Authentification unique (SSO)","icon":"lock","href":"/fr/api-reference/sso"},{"title":"Limites de requêtes","icon":"gauge","href":"/fr/api-reference/rate-limits"},{"title":"Journal des modifications","icon":"clock-rotate-left","href":"/fr/api-reference/changelog"}]},{"group":"Intégrations","pages":[{"title":"Serveur MCP","icon":"plug","href":"/fr/api-reference/mcp"},{"title":"Looker Studio","icon":"chart-line","href":"/fr/api-reference/looker-studio"},{"title":"Power BI et Microsoft Fabric","icon":"chart-column","href":"/fr/api-reference/powerbi-fabric"},{"title":"Exportations des vues enregistrées","icon":"file-export","href":"/fr/api-reference/saved-view-exports"}]},{"group":"Ressources principales","pages":[{"group":"Utilitaires","pages":[{"title":"Valider une clé API","openapi":"fr/api-reference/openapi.json get /api/validate-api-key","href":"/fr/api-reference/basics/validate-api-key"},{"title":"Récupérer la période","openapi":"fr/api-reference/openapi.json get /api/v1/date-range","href":"/fr/api-reference/basics/get-date-range"},{"title":"Interroger les données d’un rapport Looker Studio","openapi":"fr/api-reference/openapi.json post /api/v1/looker-studio/data","href":"/fr/api-reference/analytics/query-looker-studio-report-data"}]},{"group":"Sites web","pages":[{"title":"Obtenir les sites","openapi":"fr/api-reference/openapi.json get /api/v1/websites","href":"/fr/api-reference/basics/get-websites"},{"title":"Créer un site","openapi":"fr/api-reference/openapi.json post /api/v1/websites","href":"/fr/api-reference/basics/create-website"},{"title":"Provisionner un site","description":"Crée un site entièrement configuré en un appel, sans assistant initial. Configure éventuellement concurrents, prompts et planification de traitement. Clé globale requise. Les **intégrations partenaires** peuvent associer leur identifiant avec `external_id`. La création réussie provisionne aussi la planification Par défaut dans la même transaction.\n\n> **Bêta** : ce point est en bêta ; les schémas peuvent évoluer. Les motifs de suivi conservent hôte soumis, casse du chemin et contraintes de requête. Les domaines apex incluent leur forme www ; les hôtes www explicites restent distincts. Les chemins correspondent par sections délimitées par des barres obliques.","openapi":"fr/api-reference/openapi.json post /api/v1/websites/provision","href":"/fr/api-reference/basics/provision-website"},{"title":"Mettre à jour un site web","openapi":"fr/api-reference/openapi.json patch /api/v1/websites/{website_id}","href":"/fr/api-reference/basics/update-website"},{"title":"Supprimer un site web","description":"Supprime un site web. Le retire de votre organisation et arrête tous les traitements associés. Nécessite une clé API globale. Idempotent : un nouvel appel pour un site web déjà supprimé renvoie 200. Cette action est réversible — appelez `POST /api/v1/websites/{website_id}/restore` pour réactiver un site web supprimé.","openapi":"fr/api-reference/openapi.json post /api/v1/websites/{website_id}/delete","href":"/fr/api-reference/basics/delete-website"},{"title":"Restaurer un site web","openapi":"fr/api-reference/openapi.json post /api/v1/websites/{website_id}/restore","href":"/fr/api-reference/basics/restore-website"}]},{"group":"Prompts","pages":[{"title":"Obtenir les prompts","openapi":"fr/api-reference/openapi.json get /api/v1/prompts","href":"/fr/api-reference/basics/get-prompts"},{"title":"Créer des prompts","openapi":"fr/api-reference/openapi.json post /api/v1/prompts","href":"/fr/api-reference/basics/create-prompts"},{"title":"Modifier un prompt","openapi":"fr/api-reference/openapi.json patch /api/v1/prompts/{prompt_id}","href":"/fr/api-reference/basics/update-prompt"},{"title":"Mettre en pause ou réactiver les prompts","openapi":"fr/api-reference/openapi.json patch /api/v1/prompts/status","href":"/fr/api-reference/basics/pause-or-unpause-prompts"},{"title":"Supprimer un prompt","openapi":"fr/api-reference/openapi.json delete /api/v1/prompts/{prompt_id}","href":"/fr/api-reference/basics/delete-prompt"},{"title":"Obtenir les étiquettes de prompts","openapi":"fr/api-reference/openapi.json get /api/v1/prompt-tags","href":"/fr/api-reference/basics/get-prompt-tags"},{"title":"Lister les planifications de prompts","openapi":"fr/api-reference/openapi.json get /api/v1/prompt-schedules","href":"/fr/api-reference/basics/list-prompt-schedules"}]},{"group":"Clés API","pages":[{"title":"Lister les clés API","openapi":"fr/api-reference/openapi.json get /api/v1/api-keys","href":"/fr/api-reference/basics/list-api-keys"}]},{"group":"Activité","pages":[{"title":"Lister l’activité","openapi":"fr/api-reference/openapi.json get /api/v1/activity","href":"/fr/api-reference/basics/list-activity"}]},{"group":"Sujets","pages":[{"title":"Obtenir les sujets","openapi":"fr/api-reference/openapi.json get /api/v1/topics","href":"/fr/api-reference/basics/get-topics"},{"title":"Créer un sujet","openapi":"fr/api-reference/openapi.json post /api/v1/topics","href":"/fr/api-reference/basics/create-topic"},{"title":"Modifier un sujet","openapi":"fr/api-reference/openapi.json patch /api/v1/topics/{topic_id}","href":"/fr/api-reference/basics/update-topic"},{"title":"Supprimer un sujet","openapi":"fr/api-reference/openapi.json delete /api/v1/topics/{topic_id}","href":"/fr/api-reference/basics/delete-topic"}]},{"group":"Personas et concurrents","pages":[{"title":"Récupérer les personas","openapi":"fr/api-reference/openapi.json get /api/v1/personas","href":"/fr/api-reference/basics/get-personas"},{"title":"Récupérer les concurrents","openapi":"fr/api-reference/openapi.json get /api/v1/competitors","href":"/fr/api-reference/basics/get-competitors"}]},{"group":"Emplacements","pages":[{"title":"Obtenir les emplacements","openapi":"fr/api-reference/openapi.json get /api/v1/locations","href":"/fr/api-reference/basics/get-locations"},{"title":"Créer un emplacement","openapi":"fr/api-reference/openapi.json post /api/v1/locations","href":"/fr/api-reference/basics/create-location"},{"title":"Modifier un emplacement","openapi":"fr/api-reference/openapi.json patch /api/v1/locations/{location_id}","href":"/fr/api-reference/basics/update-location"},{"title":"Supprimer un emplacement","openapi":"fr/api-reference/openapi.json delete /api/v1/locations/{location_id}","href":"/fr/api-reference/basics/delete-location"}]},{"group":"Réponses","pages":[{"title":"Interroger les réponses","openapi":"fr/api-reference/openapi.json post /api/v1/responses","href":"/fr/api-reference/basics/query-responses"},{"title":"Lancer la collecte de réponses","openapi":"fr/api-reference/openapi.json post /api/v1/response-streaming/start","href":"/fr/api-reference/basics/start-response-streaming"},{"title":"Obtenir le statut de collecte des réponses","openapi":"fr/api-reference/openapi.json get /api/v1/response-streaming/status","href":"/fr/api-reference/basics/get-response-streaming-status"}]},{"group":"Vues enregistrées","pages":[{"title":"Obtenir les vues enregistrées","openapi":"fr/api-reference/openapi.json get /api/v1/saved-views","href":"/fr/api-reference/basics/get-saved-views"},{"title":"Obtenir les vues enregistrées du groupe","openapi":"fr/api-reference/openapi.json get /api/v1/group-saved-views","href":"/fr/api-reference/basics/get-group-saved-views"}]}]},{"group":"Analyses","pages":[{"group":"Attributs","pages":[{"title":"Lister les attributs","openapi":"fr/api-reference/openapi.json get /api/v1/attributes","href":"/fr/api-reference/attributes/list-attributes"},{"title":"Métriques cumulées des attributs","openapi":"fr/api-reference/openapi.json post /api/v1/attributes/cumulative","href":"/fr/api-reference/attributes/cumulative-attribute-metrics"},{"title":"Métriques d’attributs concurrentiels","openapi":"fr/api-reference/openapi.json post /api/v1/attributes/competitors","href":"/fr/api-reference/attributes/competitor-attribute-metrics"},{"title":"Série chronologique des attributs","openapi":"fr/api-reference/openapi.json post /api/v1/attributes/time-series","href":"/fr/api-reference/attributes/attribute-time-series"},{"title":"Observations d’attributs","openapi":"fr/api-reference/openapi.json post /api/v1/attributes/observations","href":"/fr/api-reference/attributes/attribute-observations"}]},{"group":"Part de voix","pages":[{"title":"Part de voix cumulée","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/share-of-voice/cumulative","href":"/fr/api-reference/metrics/cumulative-share-of-voice"},{"title":"Évolution de la part de voix","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/share-of-voice/time-series","href":"/fr/api-reference/metrics/share-of-voice-over-time"}]},{"group":"Taux de mention","pages":[{"title":"Taux de mention cumulé","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/mention-rate/cumulative","href":"/fr/api-reference/metrics/cumulative-mention-rate"},{"title":"Évolution du taux de mention","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/mention-rate/time-series","href":"/fr/api-reference/metrics/mention-rate-over-time"}]},{"group":"Taux de citation","pages":[{"title":"Taux de citation cumulé","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/citation-rate/cumulative","href":"/fr/api-reference/metrics/cumulative-citation-rate"},{"title":"Évolution du taux de citation","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/citation-rate/time-series","href":"/fr/api-reference/metrics/citation-rate-over-time"}]},{"group":"Position","pages":[{"title":"Position cumulée","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/position/cumulative","href":"/fr/api-reference/metrics/cumulative-position"},{"title":"Position au fil du temps","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/position/time-series","href":"/fr/api-reference/metrics/position-over-time"}]},{"group":"Shopping","pages":[{"title":"Métriques d’achat","openapi":"fr/api-reference/openapi.json post /api/v1/metrics/shopping","href":"/fr/api-reference/metrics/shopping-metrics"}]},{"group":"Valeur de la recherche IA","pages":[{"title":"AI Search Value","icon":"money-bill-trend-up","href":"/fr/api-reference/ai-search-value"},{"title":"Obtenir la valeur de recherche IA","openapi":"fr/api-reference/openapi.json get /api/v1/ai-search-value","href":"/fr/api-reference/ai-search-value/get-ai-search-value"}]}]},{"group":"Contenu et connaissances","pages":[{"group":"Content Hub","pages":[{"title":"Répertorier les feuilles de Content Hub","openapi":"fr/api-reference/openapi.json get /api/v1/content/sheets","href":"/fr/api-reference/content/list-content-hub-sheets"},{"title":"Répertorier le contenu suivi","openapi":"fr/api-reference/openapi.json post /api/v1/content","href":"/fr/api-reference/content/list-tracked-content"},{"title":"Lister les contenus","openapi":"fr/api-reference/openapi.json get /api/v1/content/items","href":"/fr/api-reference/content/list-content-items"},{"title":"Obtenir le détail du contenu","openapi":"fr/api-reference/openapi.json get /api/v1/content/{content_id}","href":"/fr/api-reference/content/get-content-detail"},{"title":"Détail des citations par prompt et contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/prompts","href":"/fr/api-reference/content/per-content-prompt-citation-breakdown"},{"title":"Lancer le pipeline de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/generate","href":"/fr/api-reference/content/start-content-pipeline"},{"title":"Obtenir le statut du pipeline de contenu","openapi":"fr/api-reference/openapi.json get /api/v1/content/{content_id}/status","href":"/fr/api-reference/content/get-content-pipeline-status"},{"title":"Obtenir un brouillon de contenu","openapi":"fr/api-reference/openapi.json get /api/v1/content/{content_id}/draft","href":"/fr/api-reference/content/get-content-draft"},{"title":"Réviser le brief de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/brief/revise","href":"/fr/api-reference/content/revise-content-brief"},{"title":"Approuver le brief de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/brief/approve","href":"/fr/api-reference/content/approve-content-brief"},{"title":"Réviser un brouillon de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/revise","href":"/fr/api-reference/content/revise-content-draft"},{"title":"Modifier un brouillon de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/edit","href":"/fr/api-reference/content/edit-content-draft"},{"title":"Lister les versions de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/versions","href":"/fr/api-reference/content/list-content-versions"},{"title":"Obtenir une version de contenu","openapi":"fr/api-reference/openapi.json get /api/v1/content/{content_id}/versions/{version_id}","href":"/fr/api-reference/content/get-content-version"},{"title":"Restaurer une version de contenu","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/versions/{version_id}/restore","href":"/fr/api-reference/content/restore-content-version"},{"title":"Marquer un contenu comme publié","openapi":"fr/api-reference/openapi.json post /api/v1/content/{content_id}/publish","href":"/fr/api-reference/content/mark-content-as-published"},{"title":"Suivre des URL externes","openapi":"fr/api-reference/openapi.json post /api/v1/content/track","href":"/fr/api-reference/content/track-external-urls"},{"title":"Renommer le contenu","openapi":"fr/api-reference/openapi.json patch /api/v1/content/{content_id}","href":"/fr/api-reference/content/rename-content"},{"title":"Supprimer un contenu","openapi":"fr/api-reference/openapi.json delete /api/v1/content/{content_id}","href":"/fr/api-reference/content/delete-content"}]},{"group":"Recommandations SEO","pages":[{"title":"Soumettre des recommandations SEO","openapi":"fr/api-reference/openapi.json post /api/v1/seo/recommendations","href":"/fr/api-reference/seo-recommendations/submit-seo-recommendations"},{"title":"Récupérer la tâche de recommandations SEO","openapi":"fr/api-reference/openapi.json get /api/v1/seo/recommendations/{job_id}","href":"/fr/api-reference/seo-recommendations/get-seo-recommendation-job"}]},{"group":"Base de connaissances","pages":[{"title":"Rechercher des faits de marque","openapi":"fr/api-reference/openapi.json get /api/v1/knowledge-base/facts/search","href":"/fr/api-reference/knowledge-base/search-brand-facts"},{"title":"Obtenir les faits de marque","openapi":"fr/api-reference/openapi.json get /api/v1/knowledge-base/facts","href":"/fr/api-reference/knowledge-base/get-brand-facts"},{"title":"Obtenir les piliers","openapi":"fr/api-reference/openapi.json get /api/v1/knowledge-base/pillars","href":"/fr/api-reference/knowledge-base/get-pillars"},{"title":"Obtenir le document d’un pilier","openapi":"fr/api-reference/openapi.json get /api/v1/knowledge-base/pillars/{pillar_id}/document","href":"/fr/api-reference/knowledge-base/get-pillar-document"},{"title":"Ajouter des faits de marque","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/facts","href":"/fr/api-reference/knowledge-base/add-brand-facts"},{"title":"Modifier un fait de marque","openapi":"fr/api-reference/openapi.json patch /api/v1/knowledge-base/facts/{fact_id}","href":"/fr/api-reference/knowledge-base/update-brand-fact"},{"title":"Supprimer des faits de marque","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/facts/delete","href":"/fr/api-reference/knowledge-base/delete-brand-facts"},{"title":"Déplacer des faits de marque","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/facts/move","href":"/fr/api-reference/knowledge-base/move-brand-facts"},{"title":"Créer un pilier","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/pillars","href":"/fr/api-reference/knowledge-base/create-pillar"},{"title":"Modifier un pilier","openapi":"fr/api-reference/openapi.json patch /api/v1/knowledge-base/pillars/{pillar_id}","href":"/fr/api-reference/knowledge-base/update-pillar"},{"title":"Supprimer les piliers","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/pillars/delete","href":"/fr/api-reference/knowledge-base/delete-pillars"},{"title":"Fusionner les piliers","openapi":"fr/api-reference/openapi.json post /api/v1/knowledge-base/pillars/merge","href":"/fr/api-reference/knowledge-base/merge-pillars"}]},{"group":"Pitch Workspace","pages":[{"title":"Créer un rapport de proposition","openapi":"fr/api-reference/openapi.json post /api/v1/pitches","href":"/fr/api-reference/pitch-workspace/create-a-pitch-report"},{"title":"Répertorier les pitchs","openapi":"fr/api-reference/openapi.json get /api/v1/pitches","href":"/fr/api-reference/pitch-workspace/list-pitches"},{"title":"Obtenir un rapport de proposition","openapi":"fr/api-reference/openapi.json get /api/v1/pitches/{pitch_id}","href":"/fr/api-reference/pitch-workspace/get-pitch-report"}]},{"group":"Sources","pages":[{"title":"Lister les sources par domaine racine","openapi":"fr/api-reference/openapi.json post /api/v1/sources","href":"/fr/api-reference/sources/list-sources-by-root-domain"},{"title":"Répertorier les pages sources (par URL)","openapi":"fr/api-reference/openapi.json post /api/v1/source-pages","href":"/fr/api-reference/sources/list-source-pages-per-url"}]}]},{"group":"Administration","pages":[{"group":"Groupes","pages":[{"title":"Lister les groupes","openapi":"fr/api-reference/openapi.json get /api/v1/groups","href":"/fr/api-reference/groups/list-groups"},{"title":"Créer un groupe","openapi":"fr/api-reference/openapi.json post /api/v1/groups","href":"/fr/api-reference/groups/create-group"},{"title":"Obtenir un groupe","openapi":"fr/api-reference/openapi.json get /api/v1/groups/{group_id}","href":"/fr/api-reference/groups/get-group"},{"title":"Modifier un groupe","openapi":"fr/api-reference/openapi.json patch /api/v1/groups/{group_id}","href":"/fr/api-reference/groups/update-group"}]},{"group":"Invitations","pages":[{"title":"Créer une invitation","openapi":"fr/api-reference/openapi.json post /api/v1/invites","href":"/fr/api-reference/team-management/create-invite"},{"title":"Inviter en masse dans des sites web ou groupes","openapi":"fr/api-reference/openapi.json post /api/v1/invites/bulk","href":"/fr/api-reference/team-management/bulk-invite-to-websites-or-groups"},{"title":"Révoquer une invitation à l’organisation","openapi":"fr/api-reference/openapi.json delete /api/v1/invites/org/{invite_id}","href":"/fr/api-reference/team-management/revoke-organization-invite"},{"title":"Révoquer une invitation au site","openapi":"fr/api-reference/openapi.json delete /api/v1/invites/website/{invite_id}","href":"/fr/api-reference/team-management/revoke-website-invite"}]},{"group":"Membres","pages":[{"title":"Lister les membres de l’organisation","openapi":"fr/api-reference/openapi.json get /api/v1/organizations/members","href":"/fr/api-reference/team-management/list-organization-members"},{"title":"Lister les membres du site","openapi":"fr/api-reference/openapi.json get /api/v1/websites/{website_id}/members","href":"/fr/api-reference/team-management/list-website-members"},{"title":"Lister les membres du groupe","openapi":"fr/api-reference/openapi.json get /api/v1/groups/{group_id}/members","href":"/fr/api-reference/team-management/list-group-members"},{"title":"Rechercher un utilisateur par e-mail","openapi":"fr/api-reference/openapi.json post /api/v1/users/by-email","href":"/fr/api-reference/team-management/look-up-user-by-email"},{"title":"Répertorier les sites web de l’utilisateur","openapi":"fr/api-reference/openapi.json get /api/v1/users/{user_id}/websites","href":"/fr/api-reference/team-management/list-user-websites"},{"title":"Retirer un utilisateur de sites","openapi":"fr/api-reference/openapi.json delete /api/v1/users/{user_id}/websites","href":"/fr/api-reference/team-management/remove-user-from-websites"},{"title":"Mettre à jour le rôle d’un membre de l’organisation","openapi":"fr/api-reference/openapi.json patch /api/v1/organizations/members/{user_id}","href":"/fr/api-reference/team-management/update-organization-member-role"},{"title":"Modifier le rôle d’un membre du site","openapi":"fr/api-reference/openapi.json patch /api/v1/websites/{website_id}/members/{user_id}","href":"/fr/api-reference/team-management/update-website-member-role"},{"title":"Modifier le rôle d’un membre de groupe","openapi":"fr/api-reference/openapi.json patch /api/v1/groups/{group_id}/members/{user_id}","href":"/fr/api-reference/team-management/update-group-member-role"},{"title":"Retirer l’accès d’un membre de groupe","openapi":"fr/api-reference/openapi.json delete /api/v1/groups/{group_id}/members/{user_id}","href":"/fr/api-reference/team-management/remove-group-member-access"},{"title":"Retirer un membre de l’organisation","openapi":"fr/api-reference/openapi.json delete /api/v1/organizations/members/{user_id}","href":"/fr/api-reference/team-management/remove-organization-member"},{"title":"Retirer un membre du site","openapi":"fr/api-reference/openapi.json delete /api/v1/websites/{website_id}/members/{user_id}","href":"/fr/api-reference/team-management/remove-website-member"}]},{"group":"Rôles","pages":[{"title":"Lister les rôles","openapi":"fr/api-reference/openapi.json get /api/v1/roles","href":"/fr/api-reference/team-management/list-roles"},{"title":"Créer un rôle personnalisé","openapi":"fr/api-reference/openapi.json post /api/v1/roles","href":"/fr/api-reference/team-management/create-custom-role"},{"title":"Obtenir un rôle","openapi":"fr/api-reference/openapi.json get /api/v1/roles/{role_id}","href":"/fr/api-reference/team-management/get-role"},{"title":"Modifier un rôle personnalisé","openapi":"fr/api-reference/openapi.json patch /api/v1/roles/{role_id}","href":"/fr/api-reference/team-management/update-custom-role"},{"title":"Supprimer un rôle personnalisé","openapi":"fr/api-reference/openapi.json delete /api/v1/roles/{role_id}","href":"/fr/api-reference/team-management/delete-custom-role"}]},{"group":"Facturation","pages":[{"title":"Obtenir les crédits du site","openapi":"fr/api-reference/openapi.json get /api/v1/credits/website","href":"/fr/api-reference/billing/get-website-credits"},{"title":"Obtenir les crédits de l’organisation","openapi":"fr/api-reference/openapi.json get /api/v1/credits/organization","href":"/fr/api-reference/billing/get-organization-credits"},{"title":"Récupérer les crédits du groupe","openapi":"fr/api-reference/openapi.json get /api/v1/credits/group","href":"/fr/api-reference/billing/get-group-credits"},{"title":"Obtenir l’abonnement du site","openapi":"fr/api-reference/openapi.json get /api/v1/subscriptions/website","href":"/fr/api-reference/billing/get-website-subscription"},{"title":"Résilier un abonnement","openapi":"fr/api-reference/openapi.json post /api/v1/subscriptions/cancel","href":"/fr/api-reference/billing/cancel-subscription"}]},{"group":"Accès de l’IA","pages":[{"title":"Accès des IA","icon":"robot","href":"/fr/api-reference/ai-access"},{"title":"Vérifier l’accessibilité IA d’un domaine","openapi":"fr/api-reference/openapi.json post /api/v1/ai-access/check","href":"/fr/api-reference/ai-access/check-ai-accessibility-for-a-domain"}]}]}]}]}]},"basePath":"","title":"Mettre à jour un site web - AthenaHQ","buildId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","deploymentId":"dpl_36EDyZCDfRuoUD9af5CH4M1bqY2h","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DCDCdBVX.js","utils-ME8dDnLe.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-0e84ACsd.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-wgRBj-ia.js","snippetPresets-C11Sgb-o.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-C0lapOpP.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ZeRQV8fF.js","shallow-BupWh095.js","getApiPlaygroundDisplay-BnYQO2Ss.js","CodeSnippet-RKKOc8c_.js","CodeSnippets-Drf_m8wS.js","Page-Bevw23-4.js","getPastedJson-u6QiPzNZ.js","icon-Bb-CBSxO.js","MethodPill-F7l5AI7V.js","DuplicateIcon-IiAXkdSg.js","createIcon-FliI8EBc.js","DynamicMarkdown-B62XqCSI.js","SectionHeading-Dj31pT03.js","axios-vUo_bRtp.js","Markdown-BOgQCTwD.js","clsx-BIWXJmsZ.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DKZWslLH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-UDqbR6xh.js"]}