Sites
Update site
Changed onput/api/v1/sites/{id}
Request
- Base URLhttps://app.scanopy.net
- URLhttps://app.scanopy.net/api/v1/sites/{id}
- Auth
- API key in header Authorization
- or API key in cookie session_id
Path parameters
idstring uuid required
Site ID
Request body
Example request
{
"created_at": "2026-01-15T10:30:00Z",
"credential_ids": [],
"effective_stale_after_hours": 672,
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Home Site",
"organization_id": "550e8400-e29b-41d4-a716-446655440001",
"stale_after_hours": null,
"tags": [],
"updated_at": "2026-01-15T10:30:00Z"
}Response
Site updated
Example response
{
"data": {
"created_at": "2026-01-15T10:30:00Z",
"credential_ids": [],
"effective_stale_after_hours": 672,
"id": "550e8400-e29b-41d4-a716-446655440002",
"name": "Home Site",
"organization_id": "550e8400-e29b-41d4-a716-446655440001",
"stale_after_hours": null,
"tags": [],
"updated_at": "2026-01-15T10:30:00Z"
},
"meta": {
"api_version": 1,
"server_version": "0.19.4"
}
}Changes
- breaking
the response property
/////became nullable for the status - breaking
the response property
/////became optional for the status - info
the request property
////became nullable - info
the request property
////became optional
- breaking
- info
endpoint added
- info