Metadata
Update Metadata Field
Rename a custom metadata field.
patch/datasets/{dataset_id}/metadata/{metadata_id}
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/datasets/{dataset_id}/metadata/{metadata_id}
- AuthHTTP bearer
Path parameters
dataset_idstring uuid required
Knowledge base ID, from List Knowledge Bases. For a scoped key, copy the ID from the Dify URL.
metadata_idstring uuid required
ID of the metadata field to rename. See List Metadata Fields.
Request body
Response
Metadata field updated successfully.
Changes
No recorded changes to this operation across all 17 revisions of this API.