Delete Doc
Delete a doc from a workspace. This removes both the doc content and its metadata. This action is irreversible.
DELETE
/api/v1/docs/{fileId}Authorization
apiKey X-API-Key<token>
Your SteelEngine API key (personal or workspace). Generate one from the SteelEngine dashboard under Settings > API Keys.
In: header
Path Parameters
fileId*string
The unique identifier of the doc to delete.
Query Parameters
workspaceId*string
The unique identifier of the workspace.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/api/v1/docs/string?workspaceId=string"{ "success": true, "data": { "message": "File deleted successfully" }}