Create Regulation

POST {{host}}/{{version}}/{{workspace_name}}/regulations

The create regulation endpoint will be used to create new regulations on the particular workspace. You can set the regulation type and the attributes to regulate.

Request Body

{"regulation_type"=>"Suppress_With_Delete", "attributes"=>{"name"=>"userId", "values"=>["foo-user", "bar-user"]}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{"regulate_id":"REDACTED"}