Metadata
Delete Metadata Field
Permanently delete a custom metadata field. Documents that used the field lose their values for it.
delete/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 delete. See List Metadata Fields.
Response
Success.
Changes
No recorded changes to this operation across all 17 revisions of this API.