My Oracle Support Banner

OUD 12.2.1.4+ - Using the REST Data Management API to Add a Member to a Group Using Postman (Doc ID 2627712.1)

Last updated on MAY 04, 2023

Applies to:

Oracle Unified Directory - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Goal

How can a member be added to a group using the OUD REST API?

This KM doc uses the OUD REST API as an example (rather than the OUD SCIM API).
SCIM Example - OUD 12.2.1.4.x+ - How to Use the 'curl' Command to Add a Group Using the OUD SCIM API (Doc ID 2791883.1)

There are no examples in the following references showing how to add an attribute to an entry -
Using Oracle Unified Directory REST APIs with Postman

REST API for Oracle Unified Directory Data Management - Use Cases

SCIM REST API for Oracle Unified Directory - Use Cases

Data Management (through the OUD REST and SCIM APIs) is available in OUD versions 12.2.1.4+.

Note: REST Administration Management is available in OUD versions 12.2.1.3+.
For more info -
OUD 12c - Testing and Using the Admin REST APIs for OUD Administration and Configuration (Doc ID 2441097.1)

Since Data Management (using either the OUD REST API or OUD SCIM API) requires OUD version 12.2.1.4.x.
If on a version of OUD prior to 12.2.1.4.0, upgrade from -
11g to 12.2.1.4.0  -
One Hop Upgrade of OUD 11gR2PS3 to OUD 12cPS4 (Doc ID 2775836.1)
- OR -
12.2.1.3.x to 12.2.1.4.0 -
OUD12c Upgrade Example - Upgrading an OUD 12.2.1.3.x Installation/Instance to 12.2.1.4.0 (Doc ID 2627631.1)

 

Note: There are different OUD APIs for SCIM and REST which differ in implementation.

For more info -
REST Interfaces

Documentation Specific to the OUD REST API -
REST API for Oracle Unified Directory Administration
REST API for Oracle Unified Directory Data Management

Documentation Specific to the OUD SCIM API (Data Management, not Administration of Configuration) -
SCIM REST API for Oracle Unified Directory

For an example of using the SCIM REST API, check out -

OUD 12c ( 12.2.1.4 ) : OUD SCIM Data Management API Create a User fails with "500 Internal Server Error" via Postman and OUD access log with "Error occured while processing HTTP Request" and LDAP Error 32 (Doc ID 2631295.1)

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1) Upgrade from OUD 12.2.1.3.x to 12.2.1.4.0 (optional)
 2) Create/Configure an OUD Directory Server Instance for REST
 Example - Create OUD Directory Server Instance for REST
 3) Download and Configure Postman
 Configure Postman 
 4) Example - Add a Member to a Group with objectclass groupofuniquenames
 Screenshot Example with Syntax to Create the Group Entry and the Result (Raw)
 Screenshot Example - Adding a Member to a Group
 5) Verify Members Added to Group Entry
 - Using ldapsearch
 - Using Postman
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.