Version 2.0 - REST API Specification
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.invalid | Invalid user filter format |
| 401 | idp.jws.invalid | Invalid or missing JWS token |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.invalid | Invalid user data format |
| 400 | idp.user.email.empty | Email is required |
| 400 | idp.user.email.invalid | Email format is invalid |
| 400 | idp.user.firstName.empty | First name is required |
| 400 | idp.user.lastName.empty | Last name is required |
| 401 | idp.jws.invalid | Invalid JWS token |
| 403 | idp.user.insufficientPermission | Insufficient permissions |
| 409 | idp.user.alreadyExist | User already exists |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.userUid.invalid | Invalid userUid format |
| 401 | idp.jws.invalid | Invalid JWS token |
| 404 | idp.user.notFound | User not found |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.invalid | Invalid user data |
| 401 | idp.jws.invalid | Invalid JWS token |
| 403 | idp.user.insufficientPermission | Insufficient permissions |
| 404 | idp.user.notFound | User not found |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.invalid | Invalid or incomplete user data |
| 401 | idp.jws.invalid | Invalid JWS token |
| 403 | idp.user.insufficientPermission | Insufficient permissions |
| 404 | idp.user.notFound | User not found |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 401 | idp.jws.invalid | Invalid JWS token |
| 404 | idp.user.notFound | User not found |
| 500 | idp.user.canNotProcessRequest | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.sendEmail.userUidMismatch | UserUid in path does not match body |
| 400 | idp.user.sendEmail.invalidType | Invalid email type |
| 401 | idp.jws.invalid | Invalid JWS token |
| 404 | idp.user.notFound | User not found |
| 500 | idp.user.sendEmail.processingError | Internal server error |
The user identity is extracted from the "sub" claim in the JWS token.
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.mfa.totp.generate.invalidRequest | Invalid request format |
| 401 | idp.user.mfa.totp.generate.unauthorized | Unauthorized access |
| 403 | idp.user.mfa.totp.generate.forbidden | Forbidden operation |
| 404 | idp.user.mfa.totp.generate.userNotFound | User not found |
| 500 | idp.user.mfa.totp.generate.internalError | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.mfa.totp.register.invalidRequest | Invalid request or verification code |
| 401 | idp.user.mfa.totp.register.unauthorized | Unauthorized access |
| 403 | idp.user.mfa.totp.register.forbidden | Forbidden operation |
| 404 | idp.user.mfa.totp.register.userNotFound | User not found |
| 500 | idp.user.mfa.totp.register.internalError | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.mfa.totp.verify.invalidRequest | Invalid or incorrect verification code |
| 401 | idp.user.mfa.totp.verify.unauthorized | Unauthorized access |
| 403 | idp.user.mfa.totp.verify.forbidden | Forbidden operation |
| 404 | idp.user.mfa.totp.verify.userNotFound | User not found |
| 500 | idp.user.mfa.totp.verify.internalError | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.mfa.totp.delete.invalidRequest | Invalid request |
| 400 | idp.user.mfa.totp.delete.noCredential | No TOTP credential exists |
| 401 | idp.user.mfa.totp.delete.unauthorized | Unauthorized access |
| 403 | idp.user.mfa.totp.delete.forbidden | Forbidden operation |
| 404 | idp.user.mfa.totp.delete.userNotFound | User not found |
| 500 | idp.user.mfa.totp.delete.internalError | Internal server error |
| Status Code | Message Key | Description |
|---|---|---|
| 400 | idp.user.mfa.totp.bulk.invalidRequest | Invalid bulk request format |
| 401 | idp.user.mfa.totp.bulk.unauthorized | Unauthorized access |
| 403 | idp.user.mfa.totp.bulk.forbidden | Forbidden operation |
| 404 | idp.user.mfa.totp.bulk.notFound | Resource not found |
| 500 | idp.user.mfa.totp.bulk.internalError | Internal server error |