Retrieve a single fleet file with its metadata.
/v1/fleet_files/{fleetFileID}
UUID of the fleet file.
curl -L \ --url 'https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "contents": "text", "createdAt": "2025-03-12T03:12:14.116Z", "updatedAt": "2025-03-12T03:12:14.116Z", "id": "123e4567-e89b-12d3-a456-426614174000", "name": "text" }
Delete a single fleet file by its ID.
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
Update a fleet file.
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v1/fleet_files/{fleetFileID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "name": "text", "contents": "text" }'