Creates a SSH key
POST/v1/users/assets/sshkeys
Creates a SSH key
Request
- application/json
Body
metadata
object
ObjectMeta input entity for object creation
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
property name*string
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
property name*string
namestring
Name of the resource.
spec
object
SSH key specification
publicKeystring
Responses
- 201
Created successfully
Response Headers
AuditUid
string
Audit uid for the request
- application/json
- Schema
- Example (from schema)
Schema
uidstringrequired
{
"uid": "string"
}
Loading...