Files
ziti/controller/embedded/api-schema/entities/authenticator-self.patch.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

40 lines
964 B
JSON

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