Organizations are exposed under the context path
/managed/organization. The following table lists the REST commands associated with managed organizations.
|/openidm/managed/organization?_queryFilter=true&_fields=_id||GET||Lists the IDs of all managed organizations.|
|/openidm/managed/organization?_queryFilter=filter||GET||Queries managed organizations with the defined filter.|
|/openidm/managed/organization/_id||GET||Returns the JSON representation of a specific organization.|
|/openidm/managed/organization/_id||PUT||Creates an organization with a user-defined ID.|
|/openidm/managed/organization/_id||PUT||Updates an organization (replaces the entire object).|
|/openidm/managed/organization?_action=create||POST||Creates a new organization with a system-generated ID.|
|/openidm/managed/organization/_id||DELETE||Deletes an organization.|
For a number of sample commands that show how to manage organizations over REST, see "Managed Organizations".