Add, update, or delete Advanced Origin Settings for the specified resource. This setting is supported for Small, Large, and Dynamic (Aksela) resource types.
To delete an advanced origin setting, set is_delete to true and provide the id of the advanced origin setting.
Note: The resource_uuid value in the request body must match the {resource_uuid} path parameter.
Update Rewrite Origin URL rules for the specified resource.
Rewrite rules allow you to map incoming request paths to different origin paths (for example, redirect a directory or a file to another directory or file on the origin).
Note: The resource_uuid value in the request body must match the {resource_uuid} path parameter.
Enable or disable Redirect Handle From Origin for the specified resource and configure which redirect status codes are handled.
Optionally, you can add custom request headers to forward to the origin during the redirect process and add custom response headers on redirect responses.
Note: The resource_uuid value in the request body must match the {resource_uuid} path parameter.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organization_uuidstringRequired
Organization UUID.
resource_uuidstringRequired
Resource UUID.
Body
resource_uuidstringRequired
Resource UUID.
status_redirect_handlebooleanRequired
Set to true to enable Redirect Handle From Origin, or false to disable it.
Responses
200
Redirect Handle From Origin settings updated successfully.
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.