Deletes user permissions cache
delete
/rest/{versionId}/admin/permissions-cache
Use this (DELETE) method to delete user permissions cache on OSDMC server, ensuring recent permission changes are applied in subsequent requests. Note: The system also automatically clears the entire cache every hour.
Request
Path Parameters
Back to Top
Response
204 Response
Successfully processed the request with no content.
401 Response
The request is not authorized.
404 Response
The REST API version of your input request cannot be found.
Examples
Examples of Accessing the API
See Authenticate page to acquire a token.
The following example shows how to use curl to deletes user permissions cache.
curl -X DELETE \
-H @auth_header.txt \
"https://<tenant-url>/<tenant-name>/osdmc/ums/rest/<versionId>/admin/permissions-cache"The following example shows how to use Python to deletes user permissions cache.
import requests
headers = { "Authorization": "Bearer <auth-token>" }
url = "https://<tenant-url>/<tenant-name>/osdmc/ums/rest/<versionId>/admin/permissions-cache"
resp = requests.delete(url, headers=headers)Example of the Response Body
This endpoint does not return a response body.