Secret by ID.
/v1/pipeline_secrets/{secretID}
curl -L \ --url 'https://cloud-api.calyptia.com/v1/pipeline_secrets/{secretID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "key": "mysecret", "value": "text", "createdAt": "2025-03-12T04:25:03.214Z", "updatedAt": "2025-03-12T04:25:03.214Z" }
Delete pipeline secret by its ID. The secret cannot be deleted if some pipeline config is still referencing it; you must delete the pipeline first if you want to delete the secret.
curl -L \ --request DELETE \ --url 'https://cloud-api.calyptia.com/v1/pipeline_secrets/{secretID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
No body
Update secret by its ID.
newsecret
curl -L \ --request PATCH \ --url 'https://cloud-api.calyptia.com/v1/pipeline_secrets/{secretID}' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{ "key": "newsecret", "value": null }'