Edit Your Origin
Patchhttps://api.cdn77.com/v3/origin/url/{id}
Request parameters
- idstring in pathrequired
Request body≥1 required
- base_dirstring
- labelstring
- notestring
Optional note for the Origin.
- schemestring
Available values: http, https
- hoststring
- portinteger
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
}
Responses
Origin updated.