API · v1 · stable
CODEMETA OSDeveloper Center
EN
Open console

Secrets

All operations for Secrets.

Data model

The endpoints of this module work on the following entity. The schema reference lists every field with type, validation and relationships:

Entity Schema ID Fields Sequence Permissions
Secret secret 34 — secret_*

Endpoints

Method Path Operation Description
POST /v1/secrets Create secret Create a new secret in the active tenant.
DELETE /v1/secrets/{id} Delete secret Soft delete entity.
DELETE /v1/secrets/{id}/share/{userId} DELETE /v1/secrets/{id}/share/{userId} CodeMeta OS API endpoint.
GET /v1/secrets/{id} Get secret by id Fetch a single secret.
GET /v1/secrets/{id}/access GET /v1/secrets/{id}/access CodeMeta OS API endpoint.
GET /v1/secrets/{id}/linked Get linked entities CodeMeta OS API endpoint.
GET /v1/secrets/{id}/timeline Get timeline CodeMeta OS API endpoint.
GET /v1/secrets/{id}/transitions List transitions CodeMeta OS API endpoint.
GET /v1/secrets List secrets List secrets for the active tenant.
PATCH /v1/secrets/{id} Patch secret JSON Merge Patch update.
POST /v1/secrets/bulk Bulk operation CodeMeta OS API endpoint.
POST /v1/secrets/search POST /v1/secrets/search CodeMeta OS API endpoint.
POST /v1/secrets/{id}/share POST /v1/secrets/{id}/share CodeMeta OS API endpoint.
POST /v1/secrets/{id}/transition POST /v1/secrets/{id}/transition CodeMeta OS API endpoint.
POST /v1/secrets/{id}/transitions/{transitionKey} Execute transition CodeMeta OS API endpoint.
PUT /v1/secrets/{id} Replace secret Full replace with optimistic locking.

Search