update
Updates the sign-up with additional information.
Sending SignUpBuilder.unsafeMetadata on update is not supported yet. Setting it here returns a failure with the invalid_arguments error code instead of silently dropping it.
Return
A ClerkResult containing the updated SignUp object on success, or a ClerkErrorResponse on failure.
Example usage:
signUp.update {
firstName = "John"
lastName = "Doe"
}Content copied to clipboard
Parameters
block
Builder block to configure the update.
suspend fun SignUp.update(updateParams: SignUp.SignUpUpdateParams): ClerkResult<SignUp, ClerkErrorResponse>
Deprecated
Use update { } with the fields to change. This overload will be removed in the next major version.
Updates the sign-up with additional information.
Return
A ClerkResult containing the updated SignUp object on success, or a ClerkErrorResponse on failure.
Parameters
updateParams
The parameters for updating the sign-up.