メインコンテンツへスキップ
POST
組織レベルのシークレットを作成

権限

組織レベルで ManageOrgSecrets 権限が付与されたサービスユーザーまたはパーソナルアクセストークンが必要です。

承認

Authorization
string
header
必須

サービスユーザーの credential(プレフィックス: cog_)

パスパラメータ

org_id
string
必須

組織 ID(プレフィックス: org-)

例:

"org-abc123def456"

ボディ

application/json
type
enum<string>
必須
利用可能なオプション:
cookie,
key-value,
totp
key
string
必須
value
string
必須
is_sensitive
boolean
デフォルト:true
note
string | null

レスポンス

成功レスポンス

secret_id
string
必須
key
string | null
必須
note
string | null
必須
is_sensitive
boolean
必須
created_by
string
必須
created_at
integer
必須
secret_type
enum<string>
必須
利用可能なオプション:
cookie,
key-value,
totp
access_type
enum<string>
必須
利用可能なオプション:
org,
personal
updated_at
integer | null
updated_by
string | null