Origin Settings

Origin Settings (Add-Delete)

put

Update or delete origin settings for a resource. This setting is available for small, large and Aksela resource types.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringOptional

UUID of the resource

origin_typestring · enumOptional

Type of the origin

Possible values:
Responses
200

Successfully updated or deleted the origin settings for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
200

Successfully updated or deleted the origin settings for the resource.

Advanced Origin Settings

put

Add or delete advanced origin settings for a resource. This setting is available for small, large and Aksela resource types.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringOptional

UUID of the resource

Responses
200

Successfully updated or deleted the advanced origin settings for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
200

Successfully updated or deleted the advanced origin settings for the resource.

Rewrite Origin URL

put

Update rewrite origin settings for a resource. It is used to ensure that requests made to origin redirect some directories or files to different directories and files.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringOptional

UUID of the resource

Responses
200

Successfully updated the rewrite origin settings for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Origin SNI Request

put

Update Origin SNI Request Domain settings for a resource

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringRequired

UUID of the resource

origin_sni_request_statusbooleanRequired

Indicates if the Origin SNI request is enabled or disabled.

origin_sni_request_domainstringRequired

The domain for the Origin SNI request.

Responses
200

Successfully updated the Origin SNI Request Domain settings for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
200

Successfully updated the Origin SNI Request Domain settings for the resource.

Redirect Handle From Origin

put

This setting is available for small, large and Aksela resource types.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringRequired

UUID of the resource

status_redirect_handlebooleanRequired

Enables the opening and closing of the origin redirection process.

Responses
200

Successfully updated the Redirect Handle settings for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
200

Successfully updated the Redirect Handle settings for the resource.

Origin Response Timeout

put

This setting is available in small, large and dynamic(aksela) resource types.

Path parameters
organization_uuidstringRequired

UUID of the organization

resource_uuidstringRequired

UUID of the resource

Body
resource_uuidstringRequired

UUID of the resource

origin_response_timeoutinteger · min: 5 · max: 300Required

Sets the maximum expected time for the response from the origin server. Value must be between 5 and 300.

Responses
200

Successfully updated the Origin Response Timeout for the resource.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}
200

Successfully updated the Origin Response Timeout for the resource.

Enable Gzip From Origin

put

Updates the gzip compression configuration for content served directly from the origin server. When enabled, resources are compressed before transmission to reduce bandwidth and improve performance.

Path parameters
organization_uuidstringRequired

The UUID of the organization.

resource_uuidstringRequired

The UUID of the resource to update.

Body
origin_gzip_enabledbooleanRequired

Specifies whether gzip compression from the origin is enabled.

Responses
200

Gzip compression setting updated successfully for the specified origin.

application/json
put
/api/v1/cdn/{organization_uuid}/resource/{resource_uuid}

Last updated

Was this helpful?