Create a Behavior Detection Rule

POST {{baseUrl}}/api/v1/behaviors

Creates a new behavior detection rule

Request Body

{"name"=>"My Behavior Rule", "type"=>"VELOCITY"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{"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"]}}}}