跳转到主要内容
DELETE
删除组织级别密钥

权限

需要一个在组织级别拥有 ManageOrgSecrets 权限的服务用户。

授权

Authorization
string
header
必填

服务用户凭据(前缀:cog_)

路径参数

secret_id
string
必填

密钥 ID(前缀:secret-)

示例:

"secret-abc123def456"

org_id
string
必填

组织 ID(前缀:org-)

示例:

"org-abc123def456"

响应

成功响应

access_type
enum<string>
必填
可用选项:
org,
personal
created_at
integer
必填
created_by
string
必填
is_sensitive
boolean
必填
key
string | null
必填
note
string | null
必填
secret_id
string
必填
secret_type
enum<string>
必填
可用选项:
cookie,
key-value,
totp
updated_at
integer | null
updated_by
string | null