Bulk Rules Upload API (Early Access)
POST
https://app.balkan.id/api/rest/v0/rules/upload-url
Configuration
BalkanID Rules Upload CSV Format
Sample CSV
ID | Name* | Label* | Enabled | Filters* | Logic* |
---|---|---|---|---|---|
r1 | Privileged Identities | entitlement/privileged | true | f1, f2 | OR |
Column Definitions
Column Name | Column Description |
---|---|
ID | Optional - ID of the rule. |
Name | Required - The name of the rule. It appears in the applications. |
Label | Required - The code of the label to be applied. Label needs to be configured before. |
Status | Optional - If the rule is active, inactive or deleted. Default is active. |
Filters | Required - The list of filter IDs to evaluate for the rule. Filters need to be configured before. |
Logic | Required - The logic to use when applying the filters. OR results in union, AND results in intersection. |
Required Columns
Upload the CSV file via the pre-signed URL
is to upload the CSV in BalkanID Rules CSV format to the pre-signed URL.
curl
:
curl -X PUT <pre-signed url> --data-binary @./path/to/rules.csv
PUT
.format.
Request
Header Params
X-Api-Key-ID
string
optional
X-Api-Key-Secret
string
optional
Content-Type
string
optional
Default:
application/json