Skip to main content
POST
Create or update many Ranger policies in one request

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

multipart/form-data
rows
string | null

JSON array of PolicyRow

excel_file
file | null

Response

Successful Response

Aggregate response for the bulk-create endpoint.

total
integer
required

Total result lines equal the sum of created, updated, and failed. A multi-database row contributes one line per derived policy, so this can exceed the number of submitted rows.

created
integer
required
updated
integer
required
failed
integer
required
results
BulkPolicyResult · object[]
required