added new patch fields for unsecuring a token

This commit is contained in:
MirjamHTM committed 2026-10-01 13:24:00 +02:00
1 parent f7e0f57468
commit bb88040385
1 file changed
+20 -2
@@ -228,11 +228,21 @@ paths:
schema:
$ref: "#/components/schemas/SecurityValidateTokenBody"
examples:
token:
validateOtpForAuth:
value:
{
"otp": "123456"
}
otpKeyForUnsecure:
value:
{
"unsecureOtpKey": "123456789123456789123456789abcde"
}
validateOtpForUnsecure:
value:
{
"unsecureOtp": "123456"
}
responses:
"200":
description: OK
@@ -408,10 +418,18 @@ components:
description: Body for when the a token entry is validated
type: object
required:
- otp
properties:
otp:
type : string
description: >-
OTP to be used to secure the token and retrieve the JWT at GBO
example: 123456
unsecureOtpKey:
type : string
description: >-
Key used to validate the OTP at GBO for unsecuring a token
example: 123456789123456789123456789abcde
unsecureOtp:
description: >-
OTP to be used to unsecure the token at GBO
example: 123456