Change PKM Item Details
PUT/backend/api/pkm/:pkm_id
Host: https://core.ocplanet.cloud
Request
- application/json
Body
name stringrequired
private_key stringrequired
public_key stringrequired
Responses
- 200
- 400
- application/json
- Schema
- Example (from schema)
Schema
created_at stringrequired
fingerprint stringrequired
id integerrequired
name stringrequired
public_key stringrequired
user objectrequired
display stringrequired
email stringrequired
full_name stringrequired
id integerrequired
{
"created_at": "string",
"fingerprint": "string",
"id": 0,
"name": "string",
"public_key": "string",
"user": {
"display": "string",
"email": "string",
"full_name": "string",
"id": 0
}
}
- application/json
- Schema
- Example (from schema)
- Example
Schema
public_key string[]required
{
"public_key": [
"string"
]
}
{
"public_key": [
"Invalid SSH public key"
]
}
Loading...