Edit Your Origin
Patchhttps://api.cdn77.com/v3/origin/url/{id}Request parameters
idstring in pathrequired
Request body≥1 required
base_dirstringlabelstringnotestringOptional note for the Origin.
schemestringAvailable values:
http,httpshoststringportintegerfallback_originsarray of objects
Example of the request body
{
"base_dir": "/pictures/images",
"label": "My AWS Origin",
"note": "Note for my Origin",
"scheme": "https",
"host": "my.s3.amazonaws.com",
"port": 1000,
"fallback_origins": [
{
"origin_id": "9880280c-0507-46d1-88f3-71cfee83fa57",
"priority": 0
}
]
}Responses
Origin updated.