From bb880403859c29e16e188b993d10c1f8239175ea Mon Sep 17 00:00:00 2001 From: Mirjam Herald Date: Thu, 1 Oct 2026 13:24:00 +0200 Subject: [PATCH] added new patch fields for unsecuring a token --- .../container/abt-container-tokens.yaml | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/src/openapi/container/abt-container-tokens.yaml b/src/openapi/container/abt-container-tokens.yaml index 6ba69db..815c800 100644 --- a/src/openapi/container/abt-container-tokens.yaml +++ b/src/openapi/container/abt-container-tokens.yaml @@ -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 \ No newline at end of file