Skip to content

Bug Report: PATCH /api/user/registration does not work #31

Open
@gradinarot

Description

@gradinarot

The Python client for FusionAuth does not align with the documented API endpoint for updating a user registration. The documentation specifies the endpoint as:

PATCH /api/user/registration/{userId}/{applicationId}

However, the Python client implementation only includes the userId in the URL and omits applicationId.

def patch_registration(self, user_id, request):
    return self.start().uri('/api/user/registration') \
        .url_segment(user_id) \
        .body_handler(JSONBodyHandler(request)) \
        .patch() \
        .go()

The client generates the following URL:
PATCH /api/user/registration/{userId}

The client should generate the URL as documented:
PATCH /api/user/registration/{userId}/{applicationId}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions