This is a payload example of how to set a custom attribute. I suppose you want to set `oxEnrollmentCode` which is already part of the user extension out of the box
```
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:ietf:params:scim:schemas:extension:gluu:2.0:User"
],
"urn:ietf:params:scim:schemas:extension:gluu:2.0:User": {
"oxEnrollmentCode": "... value ...."
},
"userName": "...",
...
}
```
See
https://gluu.org/docs/ce/3.1.3/user-management/scim2/#creating-resources
https://gluu.org/docs/ce/3.1.3/user-management/scim2/#creating-your-own-attributes-extensions