Skip to main content
Version: 0.0.1

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.

{{< codeheader "Method and URL" >}}

DELETE /api/v3/cache/authorization

{{< codeheader "Example Request" >}}

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

{{< codeheader "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.

{{< codeheader "Method and URL" >}}

DELETE /api/v3/cache/authorization/{id}

Parameters

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


{{< codeheader "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'

{{< codeheader "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.

{{< codeheader "Method and URL" >}}

DELETE /api/v3/cache/authorization/{name}

Parameters

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


{{< codeheader "Example Request" >}}

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

{{< codeheader "Example Response" >}}

No response

Response Status Codes

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