Skip to content

feat: eg-367 add edit organization user api#30

Merged
zigtan merged 5 commits intomainfrom
feat/EG-367-Add_edit-organization-user_API
Mar 28, 2024
Merged

feat: eg-367 add edit organization user api#30
zigtan merged 5 commits intomainfrom
feat/EG-367-Add_edit-organization-user_API

Conversation

@zigtan
Copy link
Contributor

@zigtan zigtan commented Mar 28, 2024

This PR completed the CRUD management of OrganizationUser mappings with the addition of the POST /easy-genomics/organization/user/edit-organization-user API endpoint to update mapping details.

This API will allow the updating of a User within an Organization make their access 'Active' / 'Inactive', and set them as either an OrganizationAdmin or not with the following JSON payload.

e.g.

{
    "OrganizationId": "e576cd7b-b7e4-4c3c-a273-584b2b9f9313",
    "UserId": "28634573-6194-45b9-b260-e0f74145133d",
    "Status": "Active",
    "OrganizationAdmin": true
}

@zigtan zigtan merged commit 7e47aef into main Mar 28, 2024
@zigtan zigtan deleted the feat/EG-367-Add_edit-organization-user_API branch March 28, 2024 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants