修改Secret的基本信息
修改Secret的基本信息
Path Parameters
Possible values: non-empty
and <= 63 characters
订阅
Possible values: non-empty
and <= 63 characters
资源组
Possible values: non-empty
and <= 63 characters
可用区
Possible values: non-empty
and <= 63 characters
工作空间资源名称
Possible values: non-empty
and <= 128 characters
Secret名称
Query Parameters
更新Secret mask
Request Body required
Secret名称,此字段创建时用于指定,用于更新接口时时仅用作显示,不支持修改
ownership object
所有权关系
data object required
Secret数据
- 200
- default
OK
Schema
Secret名称,此字段创建时用于指定,用于更新接口时时仅用作显示,不支持修改
ownership object
所有权关系
data object required
Secret数据
{
"name": "string",
"uid": "string",
"id": "string",
"ownership": {
"user_id": "string",
"tenant_id": "string",
"user_name": "string",
"tenant_name": "string"
},
"data": {},
"create_time": "2024-11-04T06:28:49.055Z",
"update_time": "2024-11-04T06:28:49.055Z"
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}