Skip to main content
Removes one or more extended attribute keys from a Library file or folder. Only the keys you list are removed; any other xattrs on the item stay where they are.
This is irreversible. The listed xattr values are gone after the call. The item itself is not affected — only the listed metadata keys.
System-reserved xattr keys cannot be deleted; including them in the key list is rejected. The system root folders (My Space, WPS Space, Lark Space) refuse xattr deletion entirely and return 403.
Permission required: drive:item_modify · service

Path Parameters

item_id
string
required
ID of the file or folder to remove xattrs from.

Query Parameters

key
string
required
Comma-separated list of xattr keys to delete, e.g. key=tenant_id,review_status. At least one key is required.

Response

success
boolean
Indicates if the request was successful
message
string
Human-readable status message
To verify which xattrs remain on the item afterwards, call Get Item — its response includes the current x_attrs map.