Bulk Import Policies
Changed onBulk import multiple policies from JSON.
IDs from the import are ignored; new IDs will be generated for each policy. Returns a summary of successful and failed imports. Requires admin role.
Docs: Guide | API Reference
post/policies/bulk-import
Request
- Base URLhttps://api.grayswan.ai
- Authnone declared
Request body
Response
Successful Response
Changes
- breaking
the
detailresponse's property type changed fromarraytostringfor status - info
added the new optional request property
policies/items/rule_block_messages - info
added the non-success response with the status
8 more changes in this revision
- breaking