{"openapi":"3.0.0","info":{"title":"OVHcloud API specification","description":"Specification for OVHcloud API","version":"1.0","contact":{"name":"OVH","email":"api@ml.ovh.net"}},"servers":[{"url":"https://api.eu.ovhcloud.com/1.0"}],"components":{"schemas":{"any":{"description":"Can be anything (text, int, bool, json, html, etc.)","example":"This is a content of any type !"},"duration":{"type":"string","description":"Duration (e.g., P1Y2M3DT4H6M9S)","example":"P1Y2M3DT4H6M9S"},"email":{"type":"string","description":"Email address (e.g., api@ml.ovh.net)","format":"email","example":"api@ml.ovh.net"},"hosting.web.localSeo.DirectoriesList":{"type":"object","description":"Struct describing a list of directories ordered by type","properties":{"navigationSystems":{"type":"array","description":"Navigation systems","items":{"$ref":"#/components/schemas/hosting.web.localSeo.Directory"}},"searchEngines":{"type":"array","description":"Search engines","items":{"$ref":"#/components/schemas/hosting.web.localSeo.Directory"}},"socialNetworks":{"type":"array","description":"Social networks","items":{"$ref":"#/components/schemas/hosting.web.localSeo.Directory"}}}},"hosting.web.localSeo.Directory":{"type":"object","description":"Struct describing a directory","properties":{"code":{"type":"string","description":"Identifier to use to get the result of a visibility check for the directory"},"displayName":{"type":"string","description":"Human-readable name of the directory"}}},"hosting.web.localSeo.EmailAvailability":{"type":"object","description":"Struct describing the availability of an email address for a local SEO order","properties":{"availability":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.account.EmailAvailabilityEnum"}],"description":"Availability of the email address"},"serviceName":{"type":"string","description":"Hosting on which the email address is used","nullable":true}}},"hosting.web.localSeo.FieldStatusEnum":{"type":"string","description":"Sync status of a location field","enum":["MATCH","MISMATCH","MISSING","NOT_APPLICABLE","PRESENT"]},"hosting.web.localSeo.FlowStatusEnum":{"type":"string","description":"Status of a listing","enum":["ALL_INFORMATION_SUBMITTED","DONT_REMOVE","INACTIVE","MANUALLY_DEACTIVATED","NEEDS_REVIEW","NOT_SUPPORTED","NO_ACTION_NEEDED","REMOVAL_NEEDED","REMOVAL_REVIEW_NEEDED","REMOVAL_SUBMITTED","REMOVED","SUBMISSION_NEEDED","WAITING_DIRECTORY_ACTION","WAITING_USER_ACTION"]},"hosting.web.localSeo.ListingStatusEnum":{"type":"string","description":"Sync status of a listing","enum":["IN_SYNC","NOT_FOUND","NOT_IN_SYNC","NOT_SUPPORTED","NO_ONLINE_LISTING","TECHNICAL_PROBLEMS"]},"hosting.web.localSeo.SearchData":{"type":"object","description":"Struct describing a location being checked for visibility","properties":{"city":{"type":"string","description":"City of the location"},"country":{"type":"string","description":"Country of the location"},"id":{"type":"integer","description":"Id of the search"},"name":{"type":"string","description":"Name of the location"},"province":{"type":"string","description":"Province of the location","nullable":true},"street":{"type":"string","description":"Street of the location"},"streetNo":{"type":"string","description":"Street numero of the location"},"token":{"type":"string","description":"Token to use to get the results of the search"},"zip":{"type":"string","description":"Zipcode of the location"}}},"hosting.web.localSeo.VisibilityCheckResponse":{"type":"object","description":"Struct describing the response for a visibility check request","properties":{"alreadyManaged":{"type":"boolean","description":"Is the searched location already managed ?","nullable":true},"searchData":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.SearchData"}],"description":"Searched location data"}}},"hosting.web.localSeo.VisibilityCheckResultResponse":{"type":"object","description":"Struct describing a visibility check result","properties":{"city":{"type":"string","description":"City of the location","nullable":true},"cityStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"City of the location (sync status)","nullable":true},"country":{"type":"string","description":"Country of the location","nullable":true},"countryStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"Country of the location (sync status)","nullable":true},"dateCreated":{"type":"string","description":"The date and time the listing was created in database","nullable":true,"format":"date-time"},"directoryType":{"type":"string","description":"The directory where this listing appears","nullable":true},"email":{"type":"string","description":"A contact email for the location","nullable":true},"emailStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"A contact email for the location (sync status)","nullable":true},"flowStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FlowStatusEnum"}],"description":"The status of the current listing","nullable":true},"listingId":{"type":"string","description":"The listing id in the directory database","nullable":true},"listingUrl":{"type":"string","description":"The listing url on the directory website","nullable":true},"name":{"type":"string","description":"The location's name used for this listing","nullable":true},"nameStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"The location's name used for this listing (sync status)","nullable":true},"phone":{"type":"string","description":"The location's contact phone number","nullable":true},"phoneStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"The location's contact phone number (sync status)","nullable":true},"province":{"type":"string","description":"Province of the location","nullable":true},"provinceStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"Province of the location (sync status)","nullable":true},"street":{"type":"string","description":"The location's street address","nullable":true},"streetAndNo":{"type":"string","description":"A localized combination of street and streetNo","nullable":true},"streetAndNoStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"A localized combination of street and streetNo (sync status)","nullable":true},"streetNo":{"type":"string","description":"The location's street number","nullable":true},"streetNoStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"The location's street number (sync status)","nullable":true},"streetStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"The location's street address (sync status)","nullable":true},"streetType":{"type":"string","description":"The street type for Spain","nullable":true},"streetTypeStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"The street type for Spain (sync status)","nullable":true},"syncStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.ListingStatusEnum"}],"description":"The sync status of the listing","nullable":true},"website":{"type":"string","description":"A valid url for the location's website","nullable":true},"websiteStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"A valid url for the location's website (sync status)","nullable":true},"zip":{"type":"string","description":"Zipcode of the location","nullable":true},"zipStatus":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.FieldStatusEnum"}],"description":"Zipcode of the location (sync status)","nullable":true}}},"hosting.web.localSeo.account":{"type":"object","description":"Local SEO accounts","properties":{"creationDate":{"type":"string","description":"Date of creation of the account","format":"date-time","readOnly":true},"email":{"type":"string","description":"Email address associated to the account","readOnly":true},"id":{"type":"integer","description":"Account id","readOnly":true},"lastUpdate":{"type":"string","description":"Date of the last account's update","format":"date-time","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.account.StatusEnum"}],"description":"Current status of the account","readOnly":true},"taskId":{"type":"integer","description":"Running task associated to the account","nullable":true,"readOnly":true}}},"hosting.web.localSeo.account.EmailAvailabilityEnum":{"type":"string","description":"Availability of an email address for a local SEO order","enum":["available","merge","nic","taken"]},"hosting.web.localSeo.account.StatusEnum":{"type":"string","description":"Account status","enum":["created","creating","deleting","updating"]},"hosting.web.localSeo.location":{"type":"object","description":"Local SEO locations","properties":{"accountId":{"type":"integer","description":"Account id","nullable":true,"readOnly":true},"address":{"type":"string","description":"Address of the location","nullable":true,"readOnly":true},"country":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.location.CountryEnum"}],"description":"Country of the location","readOnly":true},"creationDate":{"type":"string","description":"Date of the installation of the location","format":"date-time","readOnly":true},"id":{"type":"integer","description":"Location id","readOnly":true},"lastUpdate":{"type":"string","description":"Date of the last location's update","format":"date-time","readOnly":true},"name":{"type":"string","description":"Name of the location","nullable":true,"readOnly":true},"offer":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.location.OfferEnum"}],"description":"Local SEO offer for this location","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/hosting.web.localSeo.location.StatusEnum"}],"description":"Current status of the location","readOnly":true},"taskId":{"type":"integer","description":"Running task associated to the location","nullable":true,"readOnly":true}}},"hosting.web.localSeo.location.CountryEnum":{"type":"string","description":"Location country","enum":["FR"]},"hosting.web.localSeo.location.OfferEnum":{"type":"string","description":"Location offer","enum":["normal"]},"hosting.web.localSeo.location.StatusEnum":{"type":"string","description":"Location status","enum":["created","creating","deleting","updating"]},"internationalPhoneNumber":{"type":"string","description":"International phone number","format":"phone-number"},"ip":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipBlock":{"type":"string","description":"IP (v4 or v6) CIDR notation (e.g., 192.0.2.0/24)","format":"ip-block","example":"192.0.2.0/24"},"ipInterface":{"type":"string","description":"IP address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4":{"type":"string","description":"IPv4 address (e.g., 192.0.2.0)","format":"ipv4","example":"192.0.2.0"},"ipv4Block":{"type":"string","description":"IPv4 CIDR notation (e.g., 192.0.2.0/24)","format":"ipv4-block","example":"192.0.2.0/24"},"ipv6":{"type":"string","description":"IPv6 address (e.g., 2001:41d0:1:1994::1)","format":"ipv6","example":"2001:41d0:1:1994::1"},"ipv6Block":{"type":"string","description":"IPv6 CIDR notation (e.g., 2001:41d0::/128)","format":"ipv6-block","example":"2001:41d0::/128"},"macAddress":{"type":"string","description":"MAC address (e.g., 00:00:5e:00:53:01)","format":"mac-address","example":"00:00:5e:00:53:01"},"phoneNumber":{"type":"string","description":"Phone number","format":"phone-number"},"service.RenewType":{"type":"object","description":"Map a possible renew for a specific service","properties":{"automatic":{"type":"boolean","description":"The service is automatically renewed"},"deleteAtExpiration":{"type":"boolean","description":"The service will be deleted at expiration"},"forced":{"type":"boolean","description":"The service forced to be renewed"},"manualPayment":{"type":"boolean","description":"The service needs to be manually renewed and paid","nullable":true},"period":{"type":"integer","description":"period of renew in month","nullable":true}}},"service.RenewalTypeEnum":{"type":"string","description":"Detailed renewal type of a service","enum":["automaticForcedProduct","automaticV2012","automaticV2014","automaticV2016","automaticV2024","manual","oneShot","option"]},"service.StateEnum":{"type":"string","enum":["autorenewInProgress","expired","inCreation","ok","pendingDebt","unPaid"]},"services.Service":{"type":"object","description":"Details about a Service","properties":{"canDeleteAtExpiration":{"type":"boolean","description":"Indicates that the service can be set up to be deleted at expiration","readOnly":true},"contactAdmin":{"type":"string","readOnly":true},"contactBilling":{"type":"string","readOnly":true},"contactTech":{"type":"string","readOnly":true},"creation":{"type":"string","format":"date","readOnly":true},"domain":{"type":"string","readOnly":true},"engagedUpTo":{"type":"string","nullable":true,"format":"date","readOnly":true},"expiration":{"type":"string","format":"date","readOnly":true},"possibleRenewPeriod":{"type":"array","description":"All the possible renew period of your service in month","nullable":true,"items":{"type":"integer"},"readOnly":true},"renew":{"allOf":[{"$ref":"#/components/schemas/service.RenewType"}],"description":"Way of handling the renew","nullable":true},"renewalType":{"allOf":[{"$ref":"#/components/schemas/service.RenewalTypeEnum"}],"readOnly":true},"serviceId":{"type":"integer","readOnly":true},"status":{"allOf":[{"$ref":"#/components/schemas/service.StateEnum"}],"readOnly":true}}},"time":{"type":"string","description":"Time (e.g., 15:04:05)","format":"time","example":"15:04:05"}},"securitySchemes":{"oAuth2AuthCode":{"type":"oauth2","description":"Oauth2","x-client-id":"1bb9c7df371741c0","x-client-secret":"a5b4de870aca620d10fbf63cd18d205b","flows":{"authorizationCode":{"authorizationUrl":"https://auth.eu.ovhcloud.com/oauth2/authorize","tokenUrl":"https://auth.eu.ovhcloud.com/oauth2/token","scopes":{"account/all":"Manage your account","all":"Manage your whole account and all your services","services/all":"Manage your services lifecycle and billing"}}}}}},"paths":{"/hosting/web/localSeo/directoriesList":{"get":{"summary":"List local SEO directories","description":"List local SEO directories. Returns the search engines, navigation systems and social networks covered by a local SEO offer in a country.","parameters":[{"in":"query","name":"country","description":"Country of the location","required":true,"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.location.CountryEnum"}},{"in":"query","name":"offer","description":"Local SEO offer","required":true,"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.location.OfferEnum"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.DirectoriesList"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@10"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/localSeo/directoriesList\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/localSeo/directoriesList\");\n\nprint_r($result);\n?>"}]}},"/hosting/web/localSeo/emailAvailability":{"get":{"summary":"Check local SEO email availability","description":"Check local SEO email availability. Returns whether an email address can be used for a local SEO order, and the hosting already using it.","parameters":[{"in":"query","name":"email","description":"The email address to check","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.EmailAvailability"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@10"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/localSeo/emailAvailability\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/localSeo/emailAvailability\");\n\nprint_r($result);\n?>"}]}},"/hosting/web/localSeo/visibilityCheck":{"post":{"summary":"Check location visibility","description":"Check location visibility. Starts a visibility check for a location from its name, street, zip code and country. Returns whether the location is already managed.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"country":{"description":"Country of the location","$ref":"#/components/schemas/hosting.web.localSeo.location.CountryEnum"},"name":{"type":"string","description":"Name of the location"},"street":{"type":"string","description":"Address line 1 of the location"},"zip":{"type":"string","description":"Zipcode of the location"}},"required":["country","name","street","zip"]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.VisibilityCheckResponse"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@30"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/hosting/web/localSeo/visibilityCheck\",\n\tcountry = None, # Country of the location (type: hosting.web.localSeo.location.CountryEnum)\n\tname = None, # Name of the location (type: string)\n\tstreet = None, # Address line 1 of the location (type: string)\n\tzip = None, # Zipcode of the location (type: string)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/hosting/web/localSeo/visibilityCheck\", array(\n\tcountry => null, // Country of the location (type: hosting.web.localSeo.location.CountryEnum)\n\tname => null, // Name of the location (type: string)\n\tstreet => null, // Address line 1 of the location (type: string)\n\tzip => null, // Zipcode of the location (type: string)\n));\n\nprint_r($result);\n?>"}]}},"/hosting/web/localSeo/visibilityCheckResult":{"get":{"summary":"Get visibility check results","description":"Get visibility check results. Returns the listings found for the location in each directory, with the sync status of each field.","parameters":[{"in":"query","name":"directory","description":"Get the result only for one directory","required":true,"schema":{"type":"string"}},{"in":"query","name":"id","description":"Id of the check","required":true,"schema":{"type":"integer"}},{"in":"query","name":"token","description":"Token received when requesting the check","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/hosting.web.localSeo.VisibilityCheckResultResponse"}}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@10"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/localSeo/visibilityCheckResult\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/localSeo/visibilityCheckResult\");\n\nprint_r($result);\n?>"}]}},"/hosting/web/{serviceName}/localSeo/account":{"get":{"summary":"List local SEO accounts","description":"List local SEO accounts. Returns the IDs of the local SEO accounts of the hosting. Filter them by email.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"query","name":"email","description":"Filter the value of email property (like)","schema":{"type":"string"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"}}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/account\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/account\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/account/get","required":true}],"x-expanded-response":"HostingWebLocalSeoAccount"}},"/hosting/web/{serviceName}/localSeo/account/{id}":{"get":{"summary":"Get a local SEO account","description":"Get a local SEO account. Returns the email address, status, creation date and last update date of the local SEO account, and its running task.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Account id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.account"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/account/{id}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/account/{id}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/account/get","required":true}]}},"/hosting/web/{serviceName}/localSeo/account/{id}/login":{"post":{"summary":"Log in to a local SEO account","description":"Log in to a local SEO account. Returns a single sign-on URL, with an authentication token, to log in to the local SEO account.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Account id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"string"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@40"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/hosting/web/{serviceName}/localSeo/account/{id}/login\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/hosting/web/{serviceName}/localSeo/account/{id}/login\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/account/login","required":true}]}},"/hosting/web/{serviceName}/localSeo/emailAvailability":{"get":{"summary":"Check local SEO email availability","description":"Check local SEO email availability. Returns whether an email address can be used for a local SEO order, and the hosting already using it.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"query","name":"email","description":"The email address to check","required":true,"schema":{"type":"string"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.EmailAvailability"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/emailAvailability\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/emailAvailability\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/emailAvailability/get","required":true}]}},"/hosting/web/{serviceName}/localSeo/location":{"get":{"summary":"List local SEO locations","description":"List local SEO locations. Returns the IDs of the local SEO locations of the hosting. Each location is a business listed in online directories.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"}}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/location\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/location\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/location/get","required":true}],"x-expanded-response":"HostingWebLocalSeoLocation"}},"/hosting/web/{serviceName}/localSeo/location/{id}":{"get":{"summary":"Get a local SEO location","description":"Get a local SEO location. Returns the name, address, country, offer and status of the location, with its creation and last update dates.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Location id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/hosting.web.localSeo.location"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/location/{id}\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/location/{id}\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/location/get","required":true}]}},"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfos":{"get":{"summary":"Get location service information","description":"Get location service information. Returns the billing information of the location: creation and expiration dates, renewal settings and contacts.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Location id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/services.Service"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@20"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.get(\"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfos\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->get(\"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfos\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/location/serviceInfos/get","required":true}]}},"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfosUpdate":{"post":{"summary":"Update location renewal","description":"Update location renewal. Updates the renewal settings of the location: automatic renewal, renewal period and deletion at expiration.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Location id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"renew":{"description":"Renew type","$ref":"#/components/schemas/service.RenewType"}},"required":["renew"]}}}},"responses":{"200":{"description":"successful operation"}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@40"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\n# Request body type: service.RenewType\nresult = client.post(\"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfosUpdate\",\n\trenew = None, # Renew type (type: service.RenewType)\n)\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n// Request body type: service.RenewType\n$result = $ovh->post(\"/hosting/web/{serviceName}/localSeo/location/{id}/serviceInfosUpdate\", array(\n\trenew => null, // Renew type (type: service.RenewType)\n));\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/location/serviceInfosUpdate","required":true}]}},"/hosting/web/{serviceName}/localSeo/location/{id}/terminate":{"post":{"summary":"Terminate a local SEO location","description":"Terminate a local SEO location. Requests the termination of the location. A link to confirm it is sent by email to the administrator contact.","security":[{"oAuth2AuthCode":[]}],"parameters":[{"in":"path","name":"id","description":"Location id","required":true,"schema":{"type":"integer"}},{"in":"path","name":"serviceName","description":"The internal name of your hosting","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"type":"string"}}}}},"x-developer-hub-navigation":[["Web Cloud","Web Hosting","Visibility Pro@@@40"]],"x-badges":[{"color":"green","label":"Stable production version"}],"x-code-samples":[{"lang":"python","label":"Python","source":"'''\nFirst, install the latest release of Python wrapper: $ pip install ovh\n'''\nimport json\nimport ovh\n\n# Instantiate an OVH Client.\n# You can generate new credentials with full access to your account on\n# the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\nclient = ovh.Client(\n\tendpoint='ovh-eu',               # Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n\tapplication_key='xxxxxxxxxx',    # Application Key\n\tapplication_secret='xxxxxxxxxx', # Application Secret\n\tconsumer_key='xxxxxxxxxx',       # Consumer Key\n)\n\nresult = client.post(\"/hosting/web/{serviceName}/localSeo/location/{id}/terminate\")\n\n# Pretty print\nprint(json.dumps(result, indent=4))"},{"lang":"php","label":"PHP","source":"<?php\n/**\n * First, download the latest release of PHP wrapper on github\n * And include this script into the folder with extracted files\n */\nrequire __DIR__ . '/vendor/autoload.php';\nuse \\Ovh\\Api;\n\n/**\n * Instantiate an OVH Client.\n * You can generate new credentials with full access to your account on\n * the token creation page (https://api.ovh.com/createToken/index.cgi?GET=/*&PUT=/*&POST=/*&DELETE=/*)\n */\n$ovh = new Api('xxxxxxxxxx',  // Application Key\n               'xxxxxxxxxx',  // Application Secret\n               'ovh-eu',      // Endpoint of API OVH (List of available endpoints: https://github.com/ovh/python-ovh#2-configure-your-application)\n               'xxxxxxxxxx'); // Consumer Key\n\n$result = $ovh->post(\"/hosting/web/{serviceName}/localSeo/location/{id}/terminate\");\n\nprint_r($result);\n?>"}],"x-iam-actions":[{"name":"webHosting:apiovh:localSeo/location/terminate","required":true}]}}}}
