Replace a Namespaced Key Pair
PUT/apis/harvesterhci.io/v1beta1/namespaces/:namespace/keypairs/:name
Update a KeyPair object.
Request
Path Parameters
name stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
namespace stringrequired
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Object name and auth scope, such as for teams and projects
- application/json
- application/yaml
Body
required
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
Body
required
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
Responses
- 200
- 201
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
Create
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
apiVersion stringrequired
kind stringrequired
metadata object
name stringrequired
namespace string
spec objectrequired
publicKey stringrequired
status object
conditions object[]
lastTransitionTime string
lastUpdateTime string
message string
reason string
status stringrequired
type stringrequired
fingerPrint string
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"publicKey": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"fingerPrint": "string"
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...