Skip to main content
PUT
/
sites
/
{id}
Update site
curl --request PUT \
  --url https://api.surefeedback.com/api/v1/sites/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "name": "<string>",
  "domain": "<string>",
  "is_active": true
}
'
{
  "success": true,
  "data": {
    "id": "880e8400-e29b-41d4-a716-446655440003",
    "name": "Main Website Updated"
  }
}

Documentation Index

Fetch the complete documentation index at: https://developer.surefeedback.com/llms.txt

Use this file to discover all available pages before exploring further.

Updates the configuration of an existing site.

Path parameters

id
string
required
UUID of the site.

Request body

name
string
New display name for the site.
domain
string
Updated domain. Must be unique if changed.
is_active
boolean
Activate or deactivate the site.
{
  "success": true,
  "data": {
    "id": "880e8400-e29b-41d4-a716-446655440003",
    "name": "Main Website Updated"
  }
}