cURL
curl --request DELETE \ --url https://api-eu.flexportal.io/v1/files/{fileId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'Tenant-ID: <tenant-id>' \ --data ' { "deleteFromStorage": true } '
{ "success": true, "message": "<string>", "fileId": "<string>" }
Deletes a file record and optionally removes from storage.
API key obtained from FlexPortal dashboard
Your tenant identifier
The file ID
Also delete from storage (default: true)
File deleted
true
false