v4

latestSwagger 2.02026-07-1333110154.1 KB

Creates or updates a distribution policy.

Creates or updates a distribution policy.

patch/routing/distributionPolicies/{distributionPolicyId}

Path parameters

distributionPolicyIdstring required

Id of a distribution policy.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

If-Matchstring

The request should only proceed if an entity matches this string.

If-Unmodified-Sincestring date-time-rfc7231

The request should only proceed if the entity was not modified after this time.

Response

The request has succeeded.

etagstring required

The ETag (or entity tag) HTTP response header is an identifier for a specific version of a resource. It lets caches be more efficient and save bandwidth, as a web server does not need to resend a full response if the content was not changed.

It is a string of ASCII characters placed between double quotes, like "675af34563dc-tr34".

idstring required

Id of a distribution policy.

namestring

Friendly name of this policy.

offerExpiresAfterSecondsnumber double

Number of seconds after which any offers created under this policy will be expired.