curl -X DELETE "https://api.nonefivem.com/cloud/storage/bulk" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
}'
const response = await fetch("https://api.nonefivem.com/cloud/storage/bulk", {
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
ids: [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
})
});
const result = await response.json();
{
"message": "3 items deleted successfully",
"deletedCount": 3
}
Storage
Bulk Delete Items
Delete multiple storage items in a single request
DELETE
/
storage
/
bulk
curl -X DELETE "https://api.nonefivem.com/cloud/storage/bulk" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
}'
const response = await fetch("https://api.nonefivem.com/cloud/storage/bulk", {
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
ids: [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
})
});
const result = await response.json();
{
"message": "3 items deleted successfully",
"deletedCount": 3
}
Delete multiple storage items at once by providing an array of file IDs. This is more efficient than making individual delete requests.
Authorization
string
required
Bearer token for authentication. Format:
Bearer <your-api-key>Required Permission
STORAGE_WRITE
Request Body
string[]
required
Array of file UUIDs to delete. Minimum 1 ID, maximum 100 IDs per request.
Response
string
Success message indicating the operation result
number
Number of items successfully deleted
curl -X DELETE "https://api.nonefivem.com/cloud/storage/bulk" \
-H "Authorization: Bearer your-api-key" \
-H "Content-Type: application/json" \
-d '{
"ids": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
}'
const response = await fetch("https://api.nonefivem.com/cloud/storage/bulk", {
method: "DELETE",
headers: {
Authorization: "Bearer your-api-key",
"Content-Type": "application/json"
},
body: JSON.stringify({
ids: [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001",
"550e8400-e29b-41d4-a716-446655440002"
]
})
});
const result = await response.json();
{
"message": "3 items deleted successfully",
"deletedCount": 3
}
This action is irreversible. Deleted files cannot be recovered.

