---
title: "Update website"
method: PUT
path: "/v1/entities/websites/{entityId}"
tags: ["entities/websites"]
deprecated: true
---

# Update website

`PUT /v1/entities/websites/{entityId}`

> **Deprecated.**

## Path parameters

- `entityId` string, required

## Request body

- DemWebsite
  - `name` string, required — Name of the website, which must be unique within the organization. The website must also not contain any control characters, any white space other than space (U+0020), or any consecutive, leading or trailing spaces.
  - `url` string, required — URL of the website. Must be a valid URL with no leading or trailing white space. Must not contain invalid port number (>65535).
  - `availabilityCheckSettings` DemAvailabilityCheckSettings
    - `platformOptions` DemProbePlatformOptions
      - `probePlatforms` DemProbePlatform[], required — Cloud platforms hosting synthetic probes.
      - `testFromAll` boolean — Use this field to configure whether availability tests should be performed from all selected platforms or one randomly selected platform. It has no effect if you provided only one platform in the `probePlatforms` field. If set to true, a separate test is made from each of the selected platforms. If set to false, only one of the selected platforms is chosen every time. If omitted, the previous setting will stay in effect. If there is no previous setting, the value will default to false.
    - `testFrom` DemTestFrom
      - `type` 'REGION' | 'COUNTRY' | 'CITY', required
      - `values` string[], required — A list of probe location values of the selected type. At least one value matching an existing probe must be provided.
    - `testIntervalInSeconds` 60 | 300 | 600 | 900 | 1800 | 3600 | 7200 | 14400, required
    - `outageConfiguration` DemOutageConfiguration
      - `failingTestLocations` 'all' | 'any', required
      - `consecutiveForDown` integer, required — Number of consecutive failing tests for an entity to be considered down.
    - `checkForString` DemCheckForString
      - `operator` 'CONTAINS' | 'DOES_NOT_CONTAIN', required
      - `value` string, required — The string that which will be searched in the page source code.
    - `protocols` DemWebsiteProtocol[], required — Configure which protocols need availability tests to be performed. At least one protocol must be provided.
    - `ssl` DemSslMonitoring
      - `enabled` boolean, nullable — Whether SSL monitoring is enabled for the website. If set to false, SSL monitoring will be disabled, but the other settings will be remembered in case you re-enable it later. If omitted, the previous setting will stay in effect. If there is no previous setting, the value will default to false.
      - `daysPriorToExpiration` integer, nullable — Number of days before the expiration date an SSL certificate will be considered 'expiring.'
      - `ignoreIntermediateCertificates` boolean, nullable — Use this option to limit the certificate expiration check to only the first certificate in the chain (normally the host certificate). This way you will not be warned about impending expiration of intermediate or root Certification Authority certificates in the chain. This option does not affect any other certificate validity checks besides expiration. If omitted, the previous setting will stay in effect. If there is no previous setting, the value will default to false.
    - `customHeaders` DemCustomHeaders[], nullable — Configure custom request headers to be sent with each availability test. It is possible to provide multiple headers with the same name. If omitted, set to null or set to an empty array, no custom headers will be sent.
      - `name` string, required — Name of a request header. Must contain only characters allowed by RFC: a-z, A-Z, 0-9, - and _.
      - `value` string, required — Value of a request header.
    - `allowInsecureRenegotiation` boolean — Allow insecure SSL renegotiation which introduces a security risk in the communication process. Checking this option could lead to exposing credentials to unauthorized entities and the possibility of unauthorized access, interception, or manipulation of sensitive data, compromising the integrity and security of the communication channel. Available only with HTTPS check. If omitted or set to null, insecure SSL renegotiation won't be allowed.
    - `postData` string, nullable — Configure data that will be sent as POST request body by the synthetic probe. If omitted or set to null/empty string, the probe will send the usual GET requests.
    - `authentication` DemBasicAuthentication
      - `username` string, required — Username for HTTP basic authentication.
      - `credentialId` string, nullable — The ID of a DEM synthetic credential. The credential's value is used as the password. If omitted or set to null, authentication proceeds with the username only.
  - `tags` CommonTag[] — Entity tags. Tag is a key-value pair, where there may be only single tag value for the same key.
    - `key` string, required — Tag key.
    - `value` string, required — Tag value.
  - `rum` object — Use this field to configure real user monitoring (RUM) for the website. You are required to configure at least availability monitoring or real user monitoring to be able to create website.
    - `apdexTimeInSeconds` integer — Apdex time threshold in seconds for performance satisfaction scoring.
    - `spa` boolean, required — Whether the website is a single-page application (SPA).

## Response `200`

The request has succeeded.

- object
  - `id` string, required — Unique identifier of the website entity.

## Other responses

- `400` — The server could not understand the request due to invalid syntax.

---

[API](https://skmtc.net/solarwinds/apis/solarwinds-observability.md) · [All operations](https://skmtc.net/solarwinds/apis/solarwinds-observability/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarwinds/solarwinds-observability/versions/994e5ca64961/schema)
