Takes a list of datasources, finds the associated cache records and invalidates them and removes the database records
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"datasource_uids": [
"string"
],
"datasources": [
{
"database_name": "string",
"datasource_name": "string",
"datasource_type": "druid",
"schema": "string"
}
]
}
Request Code Samples
curl --location --request POST '/cachekey/invalidate' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"datasource_uids": [
"string"
],
"datasources": [
{
"database_name": "string",
"datasource_name": "string",
"datasource_type": "druid",
"schema": "string"
}
]
}'
Responses
cache was successfully invalidated
This response does not have a body.
Modified at 2025-06-04 22:27:17