Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.memorylake.ai/llms.txt

Use this file to discover all available pages before exploring further.

DELETE /openapi/memorylake/api/v1/drives/items/{item_id}/xattrs?key={comma-separated-keys}
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.
curl -X DELETE 'https://app.memorylake.ai/openapi/memorylake/api/v1/drives/items/sc-5c6bf0f82d624a20a6fa4696997bdd46:7d8cf1e93f634b31b5/xattrs?key=tenant_id,review_status' \
  -H 'Authorization: Bearer sk_xxxxxx'

Response

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