Forum Discussion

dhiman_das's avatar
New Member
4 months ago

User management API does not return firstname & lastname

Hello team, I am currently utilizing the SwaggerHub User Management API endpoint (/orgs/{orgId}/members). However, I am encountering an issue while retrieving users – specifically, the API response does not include the firstName and lastName fields. Please find the below curl command

curl --location '' \
--header 'Authorization: Bearer <MASKED>'

Response is

 Additionally, when creating a user and providing the firstName and lastName in the input body, the changes are not being reflected in the UI. Your assistance in resolving this matter would be greatly appreciated.

curl --location '' \
--header 'Authorization: Bearer <Masked> \
--header 'Content-Type: application/json' \
--data-raw '{
    "members": [
            "email": "",
            "firstName": "Jack",
            "lastName": "White",
            "role": "DESIGNER"