Update site

View as MarkdownOpen in Claude
Edits the name, team or uri of a website. **PATCH is partial**: send only the fields you want to change; present fields must not be blank. **Body** (JSON, all optional): - `name` (string, nullable, max 60). - `team` (integer, nullable) - id of another team to move the website to. - `uri` (string, filled, max 250, must be a reachable URL) - changing it renews the website's OAuth client, so the website requires reconnection afterwards. Answers **200** with the updated resource document. Requires a full-access token (read-only tokens answer 403). A website of another organization answers 404; validation failures answer 422 with a JSON:API `errors` document.

Authentication

AuthorizationBearer

Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.

Path parameters

sitestringRequired

Request

This endpoint expects an object.
namestringOptional
teamdoubleOptional
uristringOptional

Response

200 - Website updated

dataobjectOptional
jsonapiobjectOptional