PUT /api/v1/policies/{policyId}/rules/{ruleId}
Replaces the properties for a Policy Rule identified by policyId
and ruleId
Servers
- https://{yourOktaDomain}
Path parameters
Name | Type | Required | Description |
---|---|---|---|
ruleId |
String | Yes |
|
policyId |
String | Yes |
|
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 |
---|---|---|---|
id |
String | No |
Identifier for the rule |
_links |
Object | No | |
priority |
Integer | No |
Priority of the rule |
created |
String | No |
Timestamp when the rule was created |
name |
String | No |
Name of the rule |
system |
Boolean | No |
Specifies whether Okta created the Policy Rule ( Default value: false |
type |
String | No |
Rule type Possible values:
|
status |
String | No |
Possible values:
|
lastUpdated |
String | No |
Timestamp when the rule was last modified |
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.