I'm trying to write a script that will sync groups from our LDAP system to Atlassian Access because the Google connector only syncs users. The script uses the documented APIs.
According to the schema, it *looks* like the reference can point at users and groups. Unfortunately, the documentation only references users:
The User provisioning REST API REST API (atlassian.com)
If I try to patch the membership of a group with the id of a group, I get this error:
{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"status":"400","scimType":"invalidValue","detail":"Resource [USER] Missing user: REDACTED"}
The payload only seems to require "value" and "display". I've tried explicitly specifying $ref so that it is clear that a group is being referenced but I'm still getting the same error.