Skip to main content
POST
Secret auf Organisationsebene erstellen

Berechtigungen

Erfordert einen Servicebenutzer mit der Berechtigung ManageOrgSecrets auf Organisationsebene.

Autorisierungen

Authorization
string
header
erforderlich

Servicebenutzer-Anmeldedaten (Präfix: cog_)

Pfadparameter

org_id
string
erforderlich

Organisations-ID (Präfix: org-)

Beispiel:

"org-abc123def456"

Body

application/json
key
string
erforderlich
type
enum<string>
erforderlich
Verfügbare Optionen:
cookie,
key-value,
totp
value
string
erforderlich
is_sensitive
boolean
Standard:true
note
string | null

Antwort

Erfolgreiche Antwort

access_type
enum<string>
erforderlich
Verfügbare Optionen:
org,
personal
created_at
integer
erforderlich
created_by
string
erforderlich
is_sensitive
boolean
erforderlich
key
string | null
erforderlich
note
string | null
erforderlich
secret_id
string
erforderlich
secret_type
enum<string>
erforderlich
Verfügbare Optionen:
cookie,
key-value,
totp
updated_at
integer | null
updated_by
string | null