Skip to main content

Privacera Documentation

Table of Contents

Clear Ranger's authentication table

Apache Ranger authentication entries are stored in Ranger's internal x_auth_sess table. The number of entries in this table can grow large after only a few days.

To manually remove the excess authentication entries, use the following Ranger API.

DELETE /service/public/v2/api/server/purge/records

Parameters

  • type : String. Record type to delete. The only valid value is login_records.

  • retentionDays: Integer. Number of days for which the login_records will be retained

Example call

http://<YourPrivaceraPlatformSystem:Port>:/service/plugins/server/purge/records?type=login_records&amp;retentionDays=5

Responses

  • 204 login_records deleted successfully

  • 400 Invalid record type