This page provides information about the /en/sdk/update-user endpoint.

Endpoint Description

The /en/sdk/update-user endpoint is used to update user information in the system. This API is typically used by developers to integrate user management features into their applications.

Usage

Here is a basic example of how to use the /en/sdk/update-user endpoint:

curl -X POST -H "Content-Type: application/json" -d '{"username": "example", "email": "example@example.com", "password": "newpassword123"}' http://example.com/en/sdk/update-user

Parameters

  • username (string): The username of the user to update.
  • email (string): The email address of the user to update.
  • password (string): The new password for the user.

Response

The response will contain a JSON object with the status of the operation and any relevant messages.

{
  "status": "success",
  "message": "User information updated successfully."
}

Or, if there is an error:

{
  "status": "error",
  "message": "User not found."
}

For more detailed information about the API, please refer to our API Documentation.

Related Resources

User Update