Skip to main content
PATCH
Set an endpoint's options

Authorizations

Authorization
string
header
required

Admin API key under the ApiKey scheme: Authorization: ApiKey vc_adm_.... Each key is bound to one team and carries a READ or WRITE scope; the usage endpoints require only READ.

Path Parameters

id
string<uuid>
required

Endpoint UUID

Body

application/json

Options to change

Options to change

allowed_ips
string[]

IPv4 addresses or IPv4 CIDR ranges allowed to call the endpoint, e.g. 203.0.113.0/24. Replaces the current list. At most 1000 entries. [] clears the list.

Maximum array length: 1000
allowed_origins
string[]

Browser origins allowed to call the endpoint, as scheme://host[:port] with no path, query or userinfo. Stored lowercase without a default port or trailing slash. * allows any origin and is the only wildcard, so https://*.example.com matches nothing. Replaces the current list. At most 1000 entries. [] clears the list.

Maximum array length: 1000
log_retention_hours
integer

Hours to keep request logs, 0 to 48. 0 turns request logs off.

Required range: 0 <= x <= 48

Response

OK

api_key
string
chain
string
enabled
boolean
id
string<uuid>
name
string
network
string
options
object
urls
object