Hotlink Protection

Hotlink Protection

put

This setting is available in small, large and streaming resource types.

Path parameters
organization_uuidstringRequiredExample: ****-*****-****-****
resource_uuidstringRequiredExample: ****-*****-****-*****
Body
resource_uuidstringRequiredExample: ****-*****-****-*****
status_hl_protectionbooleanRequiredExample: true
hl_protection_domainsstring[]RequiredExample: ["domain.test.com","domain2.test.com"]
Responses
200
Successful operation
application/json
put
PUT /api/v1/cdn/{organization_uuid}/resource/{resource_uuid} HTTP/1.1
Host: cloud.medianova.com
Content-Type: application/json
Accept: */*
Content-Length: 132

{
  "resource_uuid": "****-*****-****-*****",
  "status_hl_protection": true,
  "hl_protection_domains": [
    "domain.test.com",
    "domain2.test.com"
  ]
}
200

Successful operation

{
  "status": true,
  "data": {}
}

Last updated

Was this helpful?