...
- adGroup (String)
- jiraGroup (String)
- directoryType (Number)
- 0 - LDAP (Default)
- 1 - Azure AD
- 2 - Google
- 3 - Okta
- provisionUsers (Boolean)
- dryRun (Boolean)
Response: [Status: 200]
Code Block |
---|
$ curl -u superadmin -XPOST -H "Content-Type: application/json" --data '{"adGroup":"engineering.systems.and.infrastructure",\
"jiraGroup":"engineering.systems.and.infrastructure","directoryType":1}' \
http://localhost:8080/rest/adgroupsync/1.0/utility/run/admin/sync
Enter host password for user 'superadmin':
{"message":"Sync Successful, Update Size ( 6 ). Took 2.84 Seconds","id":6}
$ |
...
Required Schema Fields:
- adGroup (String)
- directoryType (Number)
- 0 - LDAP (Default)
- 1 - Azure AD
- 2 - Google
- 3 - Okta
- addAutoSync (Integer) ~ OPTIONAL
- Set 1 to add auto sync configuration
...