Files
ziti/controller/embedded/api-schema/entities/authenticator-self.put.json
T

45 lines
1.0 KiB
JSON

{
"$id": "http://ziti-edge.netfoundry.io/schemas/authenticator-self.put.json",
"anyOf": [
{
"type": "object",
"additionalProperties": true,
"required": [
"certPem"
],
"properties": {
"certPem": {
"type": "string"
},
"tags": {
"default": {},
"$ref": "definitions.all.json#/definitions/tags-null"
}
}
},
{
"type": "object",
"additionalProperties": true,
"required": [
"username",
"newPassword",
"currentPassword"
],
"properties": {
"username": {
"$ref": "definitions.all.json#/definitions/username"
},
"newPassword": {
"$ref": "definitions.all.json#/definitions/password"
},
"currentPassword": {
"$ref": "definitions.all.json#/definitions/password"
},
"tags": {
"default": {},
"$ref": "definitions.all.json#/definitions/tags-null"
}
}
}
]
}