Update a site
Update mutable fields on a site for the partner the API key belongs to. The public site contract maps onto the internal Address-backed update flow. Only the fields you include in the request body are modified; omitted fields are left as-is. platformSlaId cannot be updated while an address subscription is associated. customProperties accepts the custom properties defined for your partner, keyed by property id; send null to clear one. Requires the site:write scope. Supports include=clients to expand the updated site.
Path Parameters
Query Parameters
Body
Custom property values, keyed by property id. Ids and value types come from the properties defined for your partner, so this object cannot be described field by field here: an unknown id or a value that does not match the property type is rejected with 400. Only the ids you send are modified — omit a property to leave it untouched. To clear one, send null; a blank string and an empty array count as empty too, for every property type alike.
Response
Updated site
Custom property values, keyed by property id. Ids and value types come from the properties defined for your partner, so this object cannot be described field by field here — call the custom-property list endpoint to resolve an id to its name and type. A property never given a value takes the default configured for it, and is left out rather than returned as null when there is no default either. A value stored before its property was changed — an option renamed or removed, the type switched — is returned as stored, so it may not match the type the property has today; an absent key is the only reliable sign that nothing is set.