Authorization: Bearer ********************
{
"active": true,
"urlmode": "string",
"cachemode": "string",
"cachepath": "string",
"cacheextensions": "string",
"cachereg": "string",
"timeout": 0,
"weight": 0
}
curl --location --request PUT 'http://39.100.59.112:8000/cache//config' \
--header 'Accept;' \
--header 'Content-Type: application/json' \
--data-raw '{
"active": true,
"urlmode": "string",
"cachemode": "string",
"cachepath": "string",
"cacheextensions": "string",
"cachereg": "string",
"timeout": 0,
"weight": 0
}'
{
"code": 0,
"message": "string",
"data": {
"cache_uuid": "string",
"domain_uuid": "string",
"active": true,
"urlmode": "string",
"cachemode": "string",
"cachepath": "string",
"cacheextensions": "string",
"cachereg": "string",
"timeout": 0,
"weigth": 0
}
}