Skip to content

Create API to Update User Information #40

Description

@Ugo-X

Description:
Develop an API endpoint to allow users to update their stored information, such as avatar, username, address, and World ID badge details.

Requirements:

  • Implement a PATCH/PUT API route for updating user details.
  • Ensure that updates are validated and properly stored in the database.
  • Add authentication/authorization checks if required.
  • Handle cases where the user does not exist or inputs invalid data.

Acceptance Criteria:

  • Users can update their details with valid input.
  • Appropriate success or error messages are returned.
  • Only authorized users should be able to modify their data.

ETA 48 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions