Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Basic authentication is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.

The project ID and API secret can be found in the Developer Panel.

Path Parameters

projectID
string
required

The project ID

Body

application/json
ruleType
string
required
content
string
required
requestID
string

Unique ID of request, you can provide your own while making the request, if not the ID will be randomly generated on server side

Example:

"req-557...663"

isActive
boolean

Response

Returns newly created ruleset id

httpStatusCode
integer<int32>
required

HTTP status code of operation

message
string
required
Example:

"OK"

requestData
object
required

Data about the request itself, can be used for debugging

runtime
number<float>
required

Runtime in seconds for this request

Example:

0.06167686

rulesetID
string
required