Skip to main content
Version: current

LDAP User Cache

Use the LDAP User Cache API to invalidate the authorization for all users and groups or a single user or group in the LDAP user cache.

note:

You must be a member of the Dremio ADMIN role to send requests to the LDAP User Cache API.

Invalidating LDAP Authorization for All Users and Groups​

Invalidate all users' and groups' LDAP authorizations.

Method and URL
DELETE /api/v3/cache/authorization
Example Request
curl -X DELETE 'https://{hostname}/api/v3/cache/authorization' \
--header 'Authorization: _dremio{tokenstring}' \
--header 'Content-Type: application/json'
Example Response
No response

Response Status Codes​

{{< api-responses file="data/software-api/ldap.json" data="invalidateAllResponses" >}}

Invalidating LDAP Authorization for a Single User or Group by ID​

Invalidate LDAP authorization for a single user or group by specifying the ID for the user or group.

note:

If you do not provide the ID of a user or group in the request URL, Dremio invalidates the LDAP authorization for all users and groups in the cache.

Method and URL
DELETE /api/v3/cache/authorization/{id}

Parameters​

{{< api-section file="data/software-api/ldap.json" data="invalidateUserGroupIdParameters" >}}


Example Request
curl -X DELETE 'https://{hostname}/api/v3/cache/authorization/2k8bdk96-b267-4d56-9154-e48v5884h5i8' \
--header 'Authorization: _dremio{tokenstring}' \
--header 'Content-Type: application/json'
Example Response
No response

Response Status Codes​

{{< api-responses file="data/software-api/ldap.json" data="invalidateUserGroupIdResponses" >}}

Invalidating LDAP Authorization for a Single User or Group by Name​

Invalidate LDAP authorization for a single user or group by specifying the name for the user or group.

note:

If you do not provide the name of a user or group in the request URL, Dremio invalidates the LDAP authorization for all users and groups in the cache.

Method and URL
DELETE /api/v3/cache/authorization/{name}

Parameters​

{{< api-section file="data/software-api/ldap.json" data="invalidateUserGroupNameParameters" >}}


Example Request
curl -X DELETE 'https://{hostname}/api/v3/cache/authorization/exampleuser1' \
--header 'Authorization: _dremio{tokenstring}' \
--header 'Content-Type: application/json'
Example Response
No response

Response Status Codes​

{{< api-responses file="data/software-api/ldap.json" data="invalidateUserGroupNameResponses" >}}