Replace a Behavior Detection Rule
PUT {{baseUrl}}/api/v1/behaviors/:behaviorId
Replaces a Behavior Detection Rule by behaviorId
Request Body
{"name"=>"My Behavior Rule", "type"=>"VELOCITY"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"id":"abcd1234","name":"My Behavior Rule","type":"VELOCITY","settings":{"velocityKph":805},"status":"ACTIVE","created":"2021-11-09T20:38:10.000Z","lastUpdated":"2021-11-11T20:38:10.000Z","_link":{"self":{"href":"https://your-subdomain.okta.com/api/v1/behaviors/abcd1234","hints":{"allow":["GET","POST","PUT","DELETE"]}}}}