---
title: "Changes to Add a secret to a site"
method: POST
path: "/sites/{id}/secrets"
---

# Changes to Add a secret to a site

`POST /sites/{id}/secrets`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 3 of 45 revisions.

- **2026-11-24** `6f825a6bd243`: 1 breaking
- **2026-11-15** `56c22ab9b282`: 5 warning
- **2026-11-15** `3d2d9bae7da4`: 1 info

## Changes

- **2026-11-24** `6f825a6bd243`: 1 breaking
  - the `site_ids` response's property type changed from `object` to `array` for status `201`
- **2026-11-15** `56c22ab9b282`: 5 warning
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `400`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `401`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `404`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `422`
  - added the new `idempotency_error` enum value to the `error/type` response property for the response status `429`
- **2026-11-15** `3d2d9bae7da4`: 1 info
  - the request required property `value` became write-only

---

[Operation](https://skmtc.dev/crevio/apis/crevio-api-v1/docs/sites/:id/secrets/post.md) - [API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) - [Page](https://skmtc.dev/crevio/apis/crevio-api-v1/changes/sites/:id/secrets/post)
