Skip to content

Deletes metadata record & file assocaited with that record for the given id

Request

Deletes the File metadata record identified by the given id and file associated with that metadata record.

Required roles: 'users.datalake.editors' or 'users.datalake.admins'.

Security
bearer
Path
Idstringrequired

File metadata record Id.

Headers
data-partition-idstringrequired

Specifies the data partition to use. This should either be the partition name or crm account ID associated with the partition.

Example:opendes
curl -i -X DELETE \
  'https://as5.api.enterprisedata.slb.com/api/file/v2/files/{Id}/metadata' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'data-partition-id: opendes'

Responses

Record deleted successfully.

Response
No content