Core instance files

Delete Core Instance File

delete

Delete a file within a core instance.

Authorizations
Path parameters
coreInstanceFileIDstring · uuidRequired
Responses
200
OK
application/json
delete
DELETE /v1/core_instance_files/{coreInstanceFileID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200

OK

{
  "deleted": true,
  "deletedAt": "2025-07-03T20:04:59.235Z"
}

Update Core Instance File

patch

Update a file within a core instance. The file will be updated with the given name and content. If encypted is set to true, the file will be encrypted using the core instance's encryption key.

Authorizations
Path parameters
coreInstanceFileIDstring · uuidRequired
Body
namestring | nullableOptionalDefault: nullExample: myfile
contentsstring · byte | nullableOptional

Optional contents of the file to be updated in base 64 format.

Default: null
encryptedboolean | nullableOptionalDefault: null
Responses
200
OK
application/json
patch
PATCH /v1/core_instance_files/{coreInstanceFileID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 56

{
  "name": "myfile",
  "contents": "Ynl0ZXM=",
  "encrypted": true
}
200

OK

{
  "updatedAt": "2025-07-03T20:04:59.235Z"
}