POST /api/v1/groups/rules
Creates a Group rule to dynamically add Users to the specified Group if they match the condition
Note: Group rules are created with the status set to
'INACTIVE'
.
Servers
- https://{yourOktaDomain}
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
actions |
Object | No |
Defines which users and groups to assign |
actions.assignUserToGroups |
Object | No |
Contains the |
actions.assignUserToGroups.groupIds[] |
Array | No |
Array of |
name |
String | No |
Name of the Group rule |
conditions |
Object | No |
Defines group rule conditions |
conditions.expression |
Object | No |
Defines Okta specific group-rules expression |
conditions.expression.type |
String | No |
Expression type. Only valid value is ' |
conditions.expression.value |
String | No |
Okta expression that would result in a Boolean value |
conditions.people |
Object | No |
Defines conditions for |
conditions.people.groups |
Object | No |
Currently not supported |
conditions.people.groups.exclude[] |
Array | No |
Currently not supported |
conditions.people.users |
Object | No |
Defines conditions specific to user exclusion |
conditions.people.users.exclude[] |
Array | No |
Excluded |
type |
String | No |
Possible values:
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.