# API for Update Source Schema Full

**URL:** <https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664>\
**Category:** SHF Discussion and Questions\
**Tags:** sailpoint-identity-security, apis\
**Created:** [June 29, 2023, 9:15pm UTC](https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664 "2023-06-29T21:15:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PratithShetty](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PratithShetty](https://developer.sailpoint.com/discuss/u/PratithShetty)\
**Post date:** [June 29, 2023, 9:15pm UTC](https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664/1 "2023-06-29T21:15:41Z")

</div>

I am uding Update source schema full API fom postman and i get the error : “text”: “The request was syntactically correct but its content is semantically invalid.”

Here is the body i am sending :

```auto

{
  "id": "26bfe3f58b8b4197bc90b9d1c87b2b94",
  "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",
        "id": "26bfe3f58b8b4197bc90b9d1c87b2b94",
        "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"
}

```

Please do help.THanks

---

<div class="post-metadata">

**Author:** ![aditya\_pathak](https://sea1.discourse-cdn.com/sailpoint/discuss/user_avatar/developer.sailpoint.com/aditya_pathak/32/2758_2.png) [@aditya\_pathak](https://developer.sailpoint.com/discuss/u/aditya_pathak)\
**Post date:** [June 29, 2023, 11:50pm UTC](https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664/2 "2023-06-29T23:50:07Z")

</div>

> [@PratithShetty](#):
>
> The request was syntactically correct but its content is semantically invalid

Some fields are immutable and cannot be changed, such as:

- id
- type
- authoritative
- connector
- connectorClass
- passwordPolicies

Also as you’re doing a full update i couldn’t see the type being sent such as Active Directory

Would suggest just doing a partial update if its a specific entry you want to update, which will be easier to debug.

---

<div class="post-metadata">

**Author:** ![PratithShetty](https://avatars.discourse-cdn.com/v4/letter/p/958977/32.png) [@PratithShetty](https://developer.sailpoint.com/discuss/u/PratithShetty)\
**Post date:** [June 30, 2023, 3:30pm UTC](https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664/3 "2023-06-30T15:30:14Z")

</div>

@aditya_pathak - Can you send me a working curl for this API? And my application is a delimited file.

Also, the partial update API is working fine.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/sailpoint/original/2X/f/f2136700ed5e3703e0b85e02f6be799dacca7735.png) [@system](https://developer.sailpoint.com/discuss/u/system)\
**Post date:** [August 29, 2023, 3:31pm UTC](https://developer.sailpoint.com/discuss/t/api-for-update-source-schema-full/13664/4 "2023-08-29T15:31:03Z")

</div>

Closed on August 29, 2023, 3:31pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
