Delete an existing SSH key from a specified user. Available only for admins.
DELETE
/v3/users/{id}/keys/{key_id}Delete an existing SSH key from a specified user. Available only for admins.
请求参数
Path 参数
id
integer <int32>
必需
The ID of the user
key_id
integer <int32>
必需
The ID of the SSH key
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Delete an existing SSH key from a specified user. Available only for admins.
数据结构
Delete an SSH key from the currently authenticated user
id
string
可选
title
string
可选
key
string
可选
created_at
string
可选
can_push
string
可选
示例
{
"id": "string",
"title": "string",
"key": "string",
"created_at": "string",
"can_push": "string"
}
最后修改时间: 1 个月前