How do we enable custom attributes for IDCS User Import and Export?
Hi,
Oracle IDCS provides schema management for us to define custom User attributes. After we define the custom User attributes, how can we enable them for User Import and Export?
In this article, I am going to cover the high-level steps for enablement.
For example, I created these 2 custom attributes (1 of type String, 1 of type String array) with these information in schema management -
######Attribute1#######
Display Name: color
Name: color
Data Type: String
Administrator permissions: Read-Write
End-user permissions: Read-Write
######Attribute2#######
Display Name: allColors
Name: allColors
Data Type: String array
Administrator permissions: Read-Write
End-user permissions: Read-Write
First of all, we need to use IDCS REST API to enable Custom Attribute for Import/Export
End point:
https://IDCSURL/admin/v1/Schemas/urn:ietf:params:scim:schemas:idcs:extension:custom:User
Operation: PATCH
Request Payload for custom attribute of String type:
Request Payload for custom attribute of String array type:
To export user with custom attributes, we need to use REST API to submit a user export job then we can download the export file from the job detail page in IDCS
End point:
https://IDCSURL/job/v1/JobSchedules
Operation: POST
Request Payload:
Comments
Post a Comment