Apache Ranger Public REST APIs
Also available as:
PDF

Delete Policy by Service Name and Policy Name

Reference information for the Ranger REST API service/public/v2/api/policy.

API Name Delete Policy
Request Type DELETE
Request URL service/public/v2/api/policy
Request Params

Query Parameters:

servicename string The name of service

policyname string The name of policy

Example:

servicename=service-name&policyname=policy-name

Response 204 - No Content