Skip to main content
PUT
Update

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

The organization's id (UUID) or slug — either form is accepted.

projectId
string
required

The project's id (UUID) or slug — either form is accepted.

Body

application/json
enabled
boolean
required
sampleRate
number

Batch retention rate applied before telemetry storage and billing.

Required range: 0.01 <= x <= 1
allowedOrigins
string<uri>[]

Extra HTTPS origins allowed to submit measurements. The managed project origin and verified domains are allowed automatically.

Maximum array length: 20
Maximum string length: 255

Response

Updated Speed Insights configuration.

enabled
boolean
required
projectRef
string
required

Public project reference used by the browser SDK.

Pattern: ^[a-z][a-z0-9-]{1,61}$
endpoint
string<uri>
required
sampleRate
number
required

Batch retention rate applied before telemetry storage and billing.

Required range: 0.01 <= x <= 1
allowedOrigins
string<uri>[]
required
Maximum array length: 20
Maximum string length: 255
retentionDays
enum<integer>
required
Available options:
30