Update an existing origin
Authorizations
API Access Key authorization header
Path Parameters
Body
The model for the origin update
The weight of the origin used for weighted load balancing
Whether traffic should route to this origin
The type of origin to connect to
0, 1, 2, 3 The ID of the Edge Script to use as the origin - required when using the EdgeScript origin type
The ID of the Storage Zone to use as the origin - required when using the Storage origin type
Standard origin settings - required when using the Standard origin type
Magic Containers origin settings - required when using the Magic Containers origin type
Response
The updated origin
The unique ID of the origin
The weight of the origin used for weighted load balancing
Whether traffic should route to this origin
Current health status of the origin
0, 1 The type of origin to connect to
0, 1, 2, 3 The ID of the Edge Script when using this origin type
The ID of the Storage Zone when using this origin type
Standard Origin settings - Required with Standard origin type
Magic Containers Origin settings - Required with Magic Containers origin type