The Application Groups API provides a set of operations to manage group assignment for an app.
okta.apps.read
Lists all app group assignments
q | string Specifies a filter for a list of assigned groups returned based on their names. The value of Example: q=test |
after | string Specifies the pagination cursor for the Example: after=16275000448691 |
limit | integer <int32> [ 20 .. 200 ] Default: 20 Specifies the number of objects to return per page.
If there are multiple pages of results, the Link header contains a limit=20 limit=100 limit=200 |
expand | string An optional query parameter to return the corresponding assigned Group or
the group assignment metadata details in the expand=group expand=metadata |
Success
Forbidden
Not Found
Too Many Requests
[- {
- "id": "00g15acRUy0SYb9GT0g4",
- "priority": 0,
- "lastUpdated": "2024-06-02T13:17:57.000Z",
- "profile": {
- "preferredLanguage": "English",
- "manager": "Donald Glover",
- "securityQuestion": "Who is the footballer to have played the game",
- "securityAnswer": "Ronaldinho",
- "timezone": "Canada/Eastern",
- "initialStatus": "active_with_pass",
- "managerId": "ike.ogb@gmail.com",
- "locale": "en_US",
- "division": "top",
- "organization": "wazobia",
- "userType": null,
- "department": "marketing"
}, - "_links": {
- "self": {
},
}, - "_embedded": {
- "metadata": {
- "credentials": { },
- "profile": {
- "division": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "preferredLanguage": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "manager": {
- "source": {
- "type": "MAPPING",
- "value": [
- {
- "id": null
}
]
}, - "lastUpdated": null
}, - "securityQuestion": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "securityAnswer": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "timezone": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "organization": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "initialStatus": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "managerId": {
- "source": {
- "type": "MAPPING",
- "value": [
- {
- "id": null
}
]
}, - "lastUpdated": null
}, - "userType": {
- "source": {
- "type": "MAPPING",
- "value": [
- {
- "id": null
}
]
}, - "lastUpdated": null
}, - "locale": {
- "source": {
- "type": "USER",
- "value": [
- {
- "id": "00uzojLwDGgUynjJS0g3",
}
]
}, - "lastUpdated": null
}, - "department": {
- "source": {
- "type": "MAPPING",
- "value": [
- {
- "id": null
}
]
}, - "lastUpdated": null
}
}
}
}
}
]
okta.apps.read
Retrieves an app group assignment
expand | string An optional query parameter to return the corresponding assigned Group or
the group assignment metadata details in the expand=group expand=metadata |
Success
Forbidden
Not Found
Too Many Requests
{- "id": "00g15acRUy0SYb9GT0g4",
- "priority": 0,
- "lastUpdated": "2024-06-02T13:17:57.000Z",
- "profile": {
- "preferredLanguage": "English",
- "manager": "Donald Glover",
- "securityQuestion": "Who is the footballer to have played the game",
- "securityAnswer": "Ronaldinho",
- "timezone": "Canada/Eastern",
- "initialStatus": "active_with_pass",
- "managerId": "ike.ogb@gmail.com",
- "locale": "en_US",
- "division": "top",
- "organization": "wazobia",
- "userType": null,
- "department": "marketing"
}, - "_links": {
- "self": {
},
}, - "_embedded": {
- "group": {
- "id": "00g15acRUy0SYb9GT0g4",
- "created": "2024-06-02T13:02:12.000Z",
- "lastUpdated": "2024-06-02T13:02:12.000Z",
- "lastMembershipUpdated": "2024-06-02T13:03:13.000Z",
- "objectClass": [
- "okta:user_group"
], - "type": "OKTA_GROUP",
- "profile": {
- "name": "Football Group",
- "description": "Group with professional footballers"
}, - "_links": {
- "logo": [
- {
- "name": "medium",
- "type": "image/png"
}, - {
- "name": "large",
- "type": "image/png"
}
],
}
}
}
}
okta.apps.manage
priority | integer Priority assigned to the group. If an app has more than one group assigned to the same user, then the group with the higher priority has its profile applied to the Application User. If a priority value isn't specified, then the next highest priority is assigned by default. See Assign attribute group priority and the sample priority use case. |
object (GroupAssignmentProfile) Specifies the profile properties applied to Application Users that are assigned to the app through group membership. Some reference properties are imported from the target app and can't be configured. See profile. | |
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "id": "00g15acRUy0SYb9GT0g4",
- "profile": {
- "preferredLanguage": "English",
- "manager": "Arsene Wenger",
- "securityQuestion": "Who is the footballer to have played the game",
- "securityAnswer": "Jay Jay Okocha",
- "timezone": "Canada/Eastern",
- "initialStatus": "active_with_pass",
- "managerId": "ike.ogb@gmail.com",
- "locale": "en_US",
- "division": "top",
- "organization": null,
- "userType": null,
- "department": "Accounting"
}
}
{- "id": "00g15acRUy0SYb9GT0g4",
- "priority": 0,
- "lastUpdated": "2024-06-03T13:52:07.000Z",
- "profile": {
- "preferredLanguage": "English",
- "manager": "Arsene Wenger",
- "securityQuestion": "Who is the footballer to have played the game",
- "securityAnswer": "Jay Jay Okocha",
- "timezone": "Canada/Eastern",
- "initialStatus": "active_with_pass",
- "managerId": "ike.ogb@gmail.com",
- "locale": "en_US",
- "division": "top",
- "organization": null,
- "userType": null,
- "department": "Accounting"
}, - "_links": {
- "self": {
},
}
}
okta.apps.manage
Updates a group assignment to an app
Success
Bad Request
Forbidden
Not Found
Too Many Requests
[- {
- "op": "replace",
- "path": "/profile/manager",
- "value": "Carlo Ancelotti"
}
]
{- "id": "00g15acRUy0SYb9GT0g4",
- "priority": 0,
- "lastUpdated": "2024-06-03T13:42:20.000Z",
- "profile": {
- "preferredLanguage": "English",
- "securityQuestion": "Who is the footballer to have played the game",
- "securityAnswer": "Jay Jay Okocha",
- "timezone": "Canada/Eastern",
- "initialStatus": "active_with_pass",
- "managerId": "ike.ogb@gmail.com",
- "locale": "en_US",
- "division": "top",
- "organization": null,
- "userType": null,
- "department": "Accounting",
- "manager": "Carlo Ancelotti"
}, - "_links": {
- "self": {
},
}
}
okta.apps.manage
Unassigns a Group from an app
No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}