Core instance secrets

Delete Core Instance Secret

delete

Delete a secret within a core instance.

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

OK

{
  "deleted": true,
  "deletedAt": "2025-06-27T20:43:23.540Z"
}

Update Core Instance Secret

patch

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

Authorizations
Path parameters
coreInstanceSecretIDstring · uuidRequired
Body
keystring | nullableOptionalDefault: nullExample: mysecret
valuestring · byte | nullableOptional

Optional value of the secret in base 64 format.

Default: null
Responses
200
OK
application/json
patch
PATCH /v1/core_instance_secrets/{coreInstanceSecretID} HTTP/1.1
Host: cloud-api.calyptia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 37

{
  "key": "mysecret",
  "value": "Ynl0ZXM="
}
200

OK

{
  "updatedAt": "2025-06-27T20:43:23.540Z"
}