Files
ziti/controller/embedded/api-schema/entities/authenticator-self.put.json
T
Andrew Martinez 8f64d859c2 add password for self service password, fixes #87
- moves logic from REST endpoint def to handlers
- moves to version 0.10
2020-02-25 10:31:58 -05:00

45 lines
1.0 KiB
JSON

{
"$id": "http://ziti-edge.netfoundry.io/schemas/authenticator-self.put.json",
"oneOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"certPem"
],
"properties": {
"certPem": {
"type": "string"
},
"tags": {
"default": {},
"$ref": "definitions.all.json#/definitions/tags-null"
}
}
},
{
"type": "object",
"additionalProperties": false,
"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"
}
}
}
]
}