跳到主要内容

Update BYO CDN

PUT 

/bv/configuration/v1/byo-cdns/:id

Modifies the details of the BYO CDN (Bring Your Own CDN) setting.

Request

Path Parameters

    id stringrequired

    Required. The resource identifier of byo cdn.

Header Parameters

    x-bv-org-id stringrequired

    To invoke this API using api_token, you need to set the x-bv-org-id header to specify the organization for which you want to perform the action.

Body

required
    byo_cdn_setting objectrequired

    Required. The byo cdn setting.

    name stringrequired

    Required. The name of the byo cdn setting.

    type stringrequired

    Possible values: [CDN_PROVIDER_AWS_CLOUDFRONT]

    Required. The cdn provider.

    aws_cdn_setting object

    Optional. The cdn setting for aws, it is needed when type is CDN_PROVIDER_AWS_CLOUDFRONT.

    account_id stringrequired

    Required. The AWS account identifier, it is a 12-digit number, such as 012345678901.

    distribution_host stringrequired

    Required. The aws distribution host.

Responses

A successful response.

Schema

    object

Loading...