Update User
Requires Authorization: Bearer <service JWT> in deployed environments. Mint the JWT through POST /auth/token with AWS SigV4 credentials. Updates one or more provider user fields. At least one of mobileNumber, email, firstName, or lastName must be supplied.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”user_01J7C4Q8QABCD1234XYZProvider user identifier returned by createUser or listUsers.
Request Body required
Section titled “Request Body required ”object
Mobile number in E.164 format
+61412345678Direct email update. At least one update field must be provided.
alex.updated@example.comUpdated given name. At least one update field must be provided.
AlexUpdated family name. At least one update field must be provided.
TaylorResponses
Section titled “ Responses ”Updated user
object
Provider user identifier.
user_01J7C4Q8QABCD1234XYZVerified email address stored by the configured access provider.
alex@example.comMobile number in E.164 format when present.
+61412345678Given name stored by the configured access provider.
AlexFamily name stored by the configured access provider.
TaylorBAD_REQUEST
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNAUTHORIZED
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailFORBIDDEN
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailNOT_FOUND
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailCONFLICT
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailUNPROCESSABLE_ENTITY
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailConfigured access provider rate limited the request.
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailINTERNAL_SERVER_ERROR
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/emailAccess-management provider is not configured for this environment.
object
Karmo 8-digit error code.
Domain-level metadata emitted by the service.
object
object
Human-readable detail for the specific field error.
JSON pointer to the offending value.
/email