Update a website
Renames a website, moves it to another team or changes its address. Send only the fields you want to change.
Body
name(string, optional): the new name, at most 60 characters.team(integer, optional): id of the team to move the website to.uri(string, optional): the new address, at most 250 characters, with the same rules as when creating a website. Changing it renews the website’s connection credentials, so the Modular Connector plugin on the website must be reconnected afterwards.
Errors
- 422: the new address is unreachable, private or already used by another of your websites.
- 404: the team is not one of yours.
Authentication
AuthorizationBearer
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
site
Request
This endpoint expects an object.
name
team
uri
Response
200 - Website updated
data
jsonapi
