Skip to main content
DELETE
/
api
/
govern
/
data-access
/
policies
/
{policy_id}
Delete a Ranger policy
curl --request DELETE \
  --url https://api.example.com/api/govern/data-access/policies/{policy_id} \
  --header 'Authorization: Bearer <token>'
"<string>"

Authorizations

Authorization
string
header
required

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

Path Parameters

policy_id
integer
required

Ranger policy ID.

Response

Successful Response

The response is of type string.