curl -X DELETE "https://api.nonefivem.com/cloud/storage/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
const fileId = "550e8400-e29b-41d4-a716-446655440000";
const response = await fetch(
`https://api.nonefivem.com/cloud/storage/${fileId}`,
{
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key"
}
}
);
const result = await response.json();
{
"message": "Item deleted successfully"
}
Storage
Delete Storage Item
Delete a single storage item by ID
DELETE
/
storage
/
{fileId}
curl -X DELETE "https://api.nonefivem.com/cloud/storage/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
const fileId = "550e8400-e29b-41d4-a716-446655440000";
const response = await fetch(
`https://api.nonefivem.com/cloud/storage/${fileId}`,
{
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key"
}
}
);
const result = await response.json();
{
"message": "Item deleted successfully"
}
Delete a specific storage item using its unique identifier.
Authorization
string
required
Bearer token for authentication. Format:
Bearer <your-api-key>Required Permission
STORAGE_WRITE
Path Parameters
string
required
UUID of the file to delete
Response
string
Success message confirming deletion
curl -X DELETE "https://api.nonefivem.com/cloud/storage/550e8400-e29b-41d4-a716-446655440000" \
-H "Authorization: Bearer your-api-key"
const fileId = "550e8400-e29b-41d4-a716-446655440000";
const response = await fetch(
`https://api.nonefivem.com/cloud/storage/${fileId}`,
{
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key"
}
}
);
const result = await response.json();
{
"message": "Item deleted successfully"
}
This action is irreversible. The file and its CDN URL will be permanently
removed.
Error Responses
{
"error": {
"code": "NOT_FOUND",
"message": "Storage item not found"
}
}
{
"error": {
"code": "INVALID_UUID",
"message": "Invalid file ID format"
}
}

