ImageKit icon

ImageKit

Interact with the ImageKit API

Custom Metadata Field → Update

AI-generated

Summary

Updates an existing custom metadata field configuration using a JSON patch body.

Inputs

  • fieldId (required) — The ID of the custom metadata field to update.
  • updateBody (required) — JSON object containing fields to update (e.g., label, schema).

Output shape

A single record containing the updated field configuration.

Returns the full updated field object from the API.

Examples

Example 1: Change the label of a custom metadata field.

fieldId: 'field_123', updateBody: { label: 'New Label' }

Example 2: Update the data type of a field.

fieldId: 'field_456', updateBody: { schema: { type: 'Integer' } }

Links

Discussion