Skip to content

Delete a file or directory

Request

Requires nodes::service:datastore-manager permission.

Security
JWTAuthorizer
Path
nodeIDstringrequired

Node ID

Bodyapplication/json

rm

filenamestringrequired

filename

curl -i -X DELETE \
  'https://apidocs.trustgrid.io/_mock/v2/node/{nodeID}/data-store' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filename": "string"
  }'

Responses

OK