cURL
curl --request DELETE \ --url https://api.g2cplatform.com/v2/files/{fileId} \ --header 'X-API-Key: <api-key>'
{ "error": "<string>", "timestamp": "2023-11-07T05:31:56Z", "code": "RESOURCE_NOT_FOUND", "path": "<string>", "requestId": "<string>" }
Delete a file from the server
API key for authenticating requests. Include in X-API-Key header.
File identifier
File deleted successfully