Update a Distribution
Endpoint
Request
curl --X \
--request PUT 'https://cdn.de-fra.ionos.com/distributions/9ba15778-16c4-543c-8775-e52acf4853f5' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJraWQiO' \
--header 'Content-Type: application/json' \
{
"id": "9ba15778-16c4-543c-8775-e52acf4853f5",
"metadata": {},
"properties": {
"domain": "example.com",
"certificateId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
"routingRules": [
{
"scheme": "http/https",
"prefix": "/api",
"upstream": {
"host": "server.example.com",
"caching": true,
"waf": true,
"geoRestrictions": {
"blockList": [
"CN",
"RU"
]
},
"rateLimitClass": "none"
}
}
]
}
}Body Parameters
Type
Description
Example
Body Parameters
Type
Description
Example
Header Parameters
Required
Type
Description
Response
Last updated
Was this helpful?