PATCH
/
websites
/
{hostname}
curl --request PATCH \
  --url http://localhost:8080/websites/{hostname} \
  --header 'Content-Type: application/json' \
  --data '{
  "hostname": "<string>"
}'
{
  "hostname": "<string>",
  "summary": {
    "visitors": 123
  }
}

Authorizations

_me_sess
string
cookie
required

Session token for authentication.

Path Parameters

hostname
string
required

Hostname for the website.

Required string length: 1 - 253

Cookies

_me_sess
string
required

Session token for authentication.

Example:

"_me_sess=token; Path=/; HttpOnly; SameSite=Lax; Secure"

Body

application/json
Website details to update.

Request body for updating a website.

hostname
string
Required string length: 1 - 253

Response

200
application/json
Success

Response body for getting a website.

hostname
string
required
Required string length: 1 - 253
summary
object