How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Onecli Organization Secrets API

Manage secrets at the organization level. Organization secrets apply across all projects. Available on OneCLI Cloud and self-hosted Enterprise.

Onecli Organization Secrets API is one of 24 APIs that Onecli publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Organization Secrets. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 4 operations across 2 paths, and defines 6 schemas. It is described by OpenAPI 3.1.0, at version 1.0.

Requests are made against 2 base URLs: https://api.onecli.sh/v1, http://localhost:10254/v1.

4 operations 2 paths 6 schemas 1 DELETE1 GET1 PATCH1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0
Base URL
https://api.onecli.sh/v1
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Onecli Organization Secrets API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • bearerAuth — API key obtained from the dashboard or GET /user/api-key

Paths & Operations 4

Across 2 paths, the API surfaces 4 operations — 1 DELETE, 1 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Organization Secrets 4

Manage secrets at the organization level. Organization secrets apply across all projects. Available on OneCLI Cloud and self-hosted Enterprise.

GET
/org/secrets
List organization secrets
listOrgSecrets → 200
POST
/org/secrets
Create an organization secret
createOrgSecret body → 201400403
PATCH
/org/secrets/{secretId}
Update an organization secret
updateOrgSecret 1 param body → 200400403404
DELETE
/org/secrets/{secretId}
Delete an organization secret
deleteOrgSecret 1 param → 204403404

Schemas 6

The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are Secret (12 properties), SecretCreated (9 properties), ErrorEnvelope (1 property), ErrorFlat (1 property). Each schema is shown below with its type and property counts.

InjectionConfig
How the gateway injects this secret into matching outbound requests (generic secrets only). Exactly one variant: - Header — { "headerName": "Authorization", "v…
SecretCreated
object
The narrowed secret representation returned by create endpoints.
9 properties
Error
Error responses take one of two shapes depending on the failing layer: route-level validation returns the flat shape ({ "error": "..." }), while authentication…
ErrorFlat
object
Flat error shape used by route-level validation.
1 property 1 required
ErrorEnvelope
object
Envelope error shape used for authentication failures and service errors.
1 property
Secret
object
12 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onecli-organization-secrets-api-openapi.yml Raw ↑

Other APIs Onecli publishes across the network.

Onecli Agent Setup API
Onecli Agents API
Onecli Approvals API
Onecli Apps API
Onecli Connections API
Onecli Migration API
Onecli Organization App Config API
Onecli Organization Approvals API
Onecli Organization Connections API
Onecli Organization Partner API
Onecli Organization Rules API
Onecli Organization Settings API
Where this information came from

This is an independent, third-party profile of Onecli Organization Secrets API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.