Add Organizations Management API Support [SDK-2437] #341
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
Adds and updates endpoints to manage Organizations through the MGMT APIs.
Endpoints Added
Organizations
POST Organization
PATCH Organization
GET Organizations
GET Organization
GET Organization (by name)
DELETE Organization
Connections
POST Organization Connection
PATCH Organization Connection
GET Organization Connections
GET Organization Connection
DELETE Organization Connection
Members
POST Organization Members
GET Organization Members
DELETE Organization Members
Member Roles
POST Organization Member Roles
GET Organization Member Roles
DELETE Organization Member Roles
Invitations
POST Organization Invitations
GET Organization Invitations
GET Organization Invitation
DELETE Organization Invitations
Users
GET User organizations
Endpoints Updated
Email Verification
POST Email Verification with org ID
Tickets
POST Password Change Ticket with org ID
Clients
POST Client with organization configuration
PATCH Client with organization configuration
GET Client with organization configuration
GET Clients with organization configuration
Testing
In addition to including unit tests for the added models and APIs, I've also tested that the endpoints work as expected using a tenant with Organizations enabled.