更新令牌
更新令牌
Path Parameters
service string required
The service id.
token string required
The token id.
application/json
Request Body required
name string
名称
display_name string required
别名
Responses
- 200
- default
OK
application/json
Schema
Example (from schema)
Schema
name string required
名称
display_name string required
别名
{
"name": "string",
"display_name": "string",
"key": "string",
"creator_name": "string",
"update_time": "2024-11-04T06:28:48.135Z",
"create_time": "2024-11-04T06:28:48.135Z"
}
Default error response
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
code int32
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
message string
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.
@type string
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Loading...