Logo
IdentityNow API Documentation

Create Schema on Source

POST {{baseUrl}}/sources/:sourceId/schemas

Use this API to create a new schema on the specified source in Identity Security Cloud (ISC).

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "id": "2c9180835d191a86015d28455b4a2329", "name": "account", "nativeObjectType": "User", "identityAttribute": "sAMAccountName", "displayAttribute": "distinguishedName", "hierarchyAttribute": "memberOf", "includePermissions": false, "features": [ "PROVISIONING", "NO_PERMISSIONS_PROVISIONING", "GROUPS_HAVE_MEMBERS" ], "configuration": { "groupMemberAttribute": "member" }, "attributes": [ { "name": "sAMAccountName", "type": "STRING", "isMultiValued": false, "isEntitlement": false, "isGroup": false }, { "name": "memberOf", "type": "STRING", "schema": { "type": "CONNECTOR_SCHEMA", "name": "group" }, "description": "Group membership", "isMultiValued": true, "isEntitlement": true, "isGroup": true } ], "created": "2019-12-24T22:32:58.104Z", "modified": "2019-12-31T20:22:28.104Z" }



Curl
curl -X POST 'https://tenant.api.identitynow.com/v3/sources/:sourceId/schemas' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"id":"2c9180835d191a86015d28455b4a2329","name":"account","nativeObjectType":"User","identityAttribute":"sAMAccountName","displayAttribute":"distinguishedName","hierarchyAttribute":"memberOf","includePermissions":false,"features":["PROVISIONING","NO_PERMISSIONS_PROVISIONING","GROUPS_HAVE_MEMBERS"],"configuration":{"groupMemberAttribute":"member"},"attributes":[{"name":"sAMAccountName","type":"STRING","isMultiValued":false,"isEntitlement":false,"isGroup":false},{"name":"memberOf","type":"STRING","schema":{"type":"CONNECTOR_SCHEMA","name":"group"},"description":"Group membership","isMultiValued":true,"isEntitlement":true,"isGroup":true}],"created":"2019-12-24T22:32:58.104Z","modified":"2019-12-31T20:22:28.104Z"}'

ENDPOINTS