/
Jira Server - Okta Groups Sync - REST API
Jira Server - Okta Groups Sync - REST API
This page has REST API details for Jira Okta Group Sync Plugin.
Get Auto Sync Configurations
GET http://localhost:8080/rest/oktagroupsync/1.0/utility/run/list/config
Response: [Status: 200]
$ curl -u superadmin -XGET http://localhost:8080/rest/oktagroupsync/1.0/utility/run/list/config Enter host password for user 'superadmin': [{"id":1,"oktaGroup":"engineering.systems.and.infrastructure","jiraGroup":"engineering.systems.and.infrastructure","actionType":0}] $
Perform Sync By Admin
POST http://localhost:8080/rest/oktagroupsync/1.0/utility/run/admin/sync
Required Schema Fields:
- oktaGroup (String)
- jiraGroup (String)
Response: [Status: 200]
$ curl -u superadmin -XPOST -H "Content-Type: application/json" --data '{"oktaGroup":"engineering.systems.and.infrastructure",\ "jiraGroup":"engineering.systems.and.infrastructure"}' \ http://localhost:8080/rest/oktagroupsync/1.0/utility/run/admin/sync Enter host password for user 'superadmin': {"message":"Sync Successful, Update Size ( 6 ). Took 2.84 Seconds","id":6} $
Perform Sync By User
POST http://localhost:8080/rest/oktagroupsync/1.0/utility/run/user/sync
Same as above but this endpoint can execute any Jira user, it will create Jira group name same as Okta group name.
Required Schema Fields:
- oktaGroup (String)
Response: [Status: 200]
$ curl -u superadmin -XPOST -H "Content-Type: application/json" --data '{"oktaGroup":"engineering.systems.and.infrastructure"}'\ http://localhost:8080/rest/oktagroupsync/1.0/utility/run/user/sync Enter host password for user 'superadmin': {"message":"Sync Successful, Update Size ( 6 ). Took 2.84 Seconds","id":6} $
Perform Sync By Config ID
POST http://localhost:8080/rest/oktagroupsync/1.0/utility/run/admin/sync/config/id/{configId}
Query Parameters:
- configId (Number) - Okta Auto Sync Config ID
Response: [Status: 200]
$ curl -u superadmin -XPOST http://localhost:8080/rest/oktagroupsync/1.0/utility/run/admin/sync/config/id/1 Enter host password for user 'superadmin': {"message":"Sync Successful, Update Size ( 6 ). Took 2.91 Seconds","id":6} $
, multiple selections available,
Related content
Google Groups Sync For Jira REST API
Google Groups Sync For Jira REST API
More like this
Jira Active Directory Group Sync REST API
Jira Active Directory Group Sync REST API
More like this
Okta Groups Create and Sync Membership
Okta Groups Create and Sync Membership
More like this
Okta Groups Sync For Jira Server
Okta Groups Sync For Jira Server
More like this
Okta Groups Sync For Confluence Server
Okta Groups Sync For Confluence Server
More like this
Jira API Token Help
Jira API Token Help
More like this