ImageKit icon

ImageKit

Interact with the ImageKit API

Account Origin → Update

AI-generated

Summary

Updates an existing ImageKit origin configuration using a JSON payload.

Inputs

  • originId (required) — The ID of the origin to update.
  • originData (required) — JSON object containing the origin configuration fields to update (e.g., name, cdnHost).

Output shape

A single record containing the updated origin details.

Returns the complete origin object as returned by the ImageKit API.

Examples

Example 1: Update the name of an existing origin

Set originId to 'my-origin', originData to {"name": "My Updated Origin Name"}.

Links

Discussion