Clear role assignments for streams

Coverity Documentation

Version
latest

Example POST request to remove role assignments for streams that match the specified filter criteria. If multiple filters are provided, only streams that match all of the specified criteria will be affected.

cURL request

curl --location \
--request POST "http://my_connect_host:8080/api/v2/streams/roleAssignments/cleanup?locale=en_us" \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--user my_username:my_password \
--data-raw \
'{
  "namePattern": "*test*",
  "descriptionPattern": "*temporary*",
  "languageList": ["JAVA", "CXX"]
}'

Response body

{
  "code": null,
  "message": "Role assignments cleared successfully."
}