Skip to main content
POST
/
v1
/
users
/
me
/
email
/
change
Java (SDK)
package hello.world;

import java.lang.Exception;
import org.openapis.openapi.AriesJava;
import org.openapis.openapi.models.errors.ErrorResponse;
import org.openapis.openapi.models.operations.UserChangeEmailRequest;
import org.openapis.openapi.models.operations.UserChangeEmailResponse;

public class Application {

    public static void main(String[] args) throws ErrorResponse, Exception {

        AriesJava sdk = AriesJava.builder()
                .bearerAuth(System.getenv().getOrDefault("BEARER_AUTH", ""))
            .build();

        UserChangeEmailRequest req = UserChangeEmailRequest.builder()
                .email("newemail@example.com")
                .build();

        UserChangeEmailResponse res = sdk.userManagement().changeEmail()
                .request(req)
                .call();

        // handle response
    }
}
{
  "error": "<string>",
  "codes": [
    {
      "code": "<string>",
      "description": "<string>"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://finance.dev/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

New email address

email
string<email>
required
Example:

"newemail@example.com"

Response

Email changed successfully